text Entities
- Here must be full list of entities. This list must contains TextParts with dev.inmo.tgbotapi.types.MessageEntity.textsources.RegularTextSource in case if source text contains parts of regular text
diff --git a/docs/dev.inmo.tgbotapi.CommonAbstracts/-entities-output/entities.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/-entities-output/entities.html index 21d4056204..07f0129315 100644 --- a/docs/dev.inmo.tgbotapi.CommonAbstracts/-entities-output/entities.html +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/-entities-output/entities.html @@ -27,7 +27,7 @@
Here must be full list of entities. This list must contains TextParts with dev.inmo.tgbotapi.types.MessageEntity.textsources.RegularTextSource in case if source text contains parts of regular text
Full list of TextSource built from sourceTextedInput.textEntities
Full list of TextSources
diff --git a/docs/dev.inmo.tgbotapi.CommonAbstracts/-texted-output/index.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/-texted-output/index.html index 08dcc79070..45053d0071 100644 --- a/docs/dev.inmo.tgbotapi.CommonAbstracts/-texted-output/index.html +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/-texted-output/index.html @@ -40,7 +40,7 @@Full list of TextSource built from sourceTextedInput.textEntities
Full list of TextSources
diff --git a/docs/dev.inmo.tgbotapi.CommonAbstracts/index.html b/docs/dev.inmo.tgbotapi.CommonAbstracts/index.html index db099dc614..b37dbd39cd 100644 --- a/docs/dev.inmo.tgbotapi.CommonAbstracts/index.html +++ b/docs/dev.inmo.tgbotapi.CommonAbstracts/index.html @@ -25,7 +25,7 @@It is not safe field which contains potentially changeable List
This builder can be used to provide building of TextSources List
This builder can be used to provide building of TextSources List
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains ONLY ONE TextSource and that is BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex
The same message in case if it contains only BotCommandTextSource with Regex.matches
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains ONLY ONE TextSource and that is BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex
The same message in case if it contains only BotCommandTextSource with Regex.matches
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains first TextSource as BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex and for other TextSource objects used next rules: all incoming text sources will be passed as is, RegularTextSource will be split by " " for several RegularTextSource which will contains not empty args without spaces.
Paired original message and converted list with first entity BotCommandTextSource and than all others according to rules in description
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains first TextSource as BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex and for other TextSource objects used next rules: all incoming text sources will be passed as is, RegularTextSource will be split by " " for several RegularTextSource which will contains not empty args without spaces.
Paired original message and converted list with first entity BotCommandTextSource and than all others according to rules in description
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains ONLY ONE TextSource and that is BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex
The same message in case if it contains only BotCommandTextSource with Regex.matches
Convert incoming dev.inmo.tgbotapi.types.message.abstracts.ContentMessage.content of messages with fullEntitiesList and check that incoming message contains ONLY ONE TextSource and that is BotCommandTextSource. Besides, it is checking that BotCommandTextSource.command with incoming commandRegex
The same message in case if it contains only BotCommandTextSource with Regex.matches