Photo File
Functions
Will convert incoming list of Updates to list with Updates, which include dev.inmo.tgbotapi.types.message.abstracts.ContentMessages with dev.inmo.tgbotapi.types.message.content.MediaGroupContent
Parse commands and their args. Logic will find command, get all subsequent data as args until new command
Parse text sources to find commands with their arguments. This method will skip all the text sources before first command and all following text sources until the next command will be guessed as an args of last found command
Uses parseCommandsWithArgs to create base argsSeparator split args for commands and map their as k-v pairs. Sample:
This method will prepare TextSources list for messages. Remember, that first part will be separated with captionLength and all others with
This method will prepare TextSources list for messages with textLength
This method will prepare TextSources list for captions. Remember, that first part will be separated with captionLength and all others with
This method will prepare TextSources list for stories
This method will prepare TextSources list for messages with textLength
Builds the Rich HTML style source string for this list of RichBlocks. The resulting string may be passed to InputRichMessageHTML. See toRichMarkdown for the media note.
Builds the Rich Markdown style source string for this list of RichBlocks. The resulting string may be passed to InputRichMessageMarkdown.