SendingMessageParser
Types
Link copied to clipboard
Link copied to clipboard
class BuilderContext(builderFactory: () -> MessageSendApi.Body.Builder) : SendingMessageParser.AbstractBuilderContext<MessageSendApi.Body.Builder>
Link copied to clipboard
class GroupAndC2CBuilderContext(val bot: QGBot, val type: SendingMessageParser.GroupBuilderType, val targetOpenid: String, builderFactory: () -> GroupAndC2CSendBody) : SendingMessageParser.AbstractBuilderContext<GroupAndC2CSendBody>
Link copied to clipboard
Functions
Link copied to clipboard
abstract suspend fun invoke(index: Int, element: Message.Element, messages: Messages?, builderContext: SendingMessageParser.BuilderContext)
open suspend fun invoke(index: Int, element: Message.Element, messages: Messages?, builderContext: SendingMessageParser.GroupAndC2CBuilderContext)
将 SimbotMessage.Element 拼接到 GroupAndC2CSendBody 中。