def media_received(self, bot: BotAPIClient, update: Update): update.understanding = MessageUnderstanding( None, MEDIA_RECEIVED_INTENT, media_location=update.media_location) self._process_update(bot, update)
def start_callback(self, bot: BotAPIClient, update: Update): update.understanding = MessageUnderstanding(text=update.message_text, intent='start') self._process_update(bot, update)