vb64 / telemulator3

Mocked Telegram Bot API elements for unit tests of a bot based on the pyTelegramBotAPI library.
MIT License
3 stars 1 forks source link

MessageEntity fails #17

Open vb64 opened 1 year ago

vb64 commented 1 year ago

pyTelegramBotAPI fails when use MessageEntity in update.message.Command iniit

entities = MessageEntity("bot_command", 0, len(text))
Text.__init__(self, chat, from_user, text=text, entities=entities, **kwargs)