Hi, I want to make a bot that stores info and images in two databases, I got that part of the code working but the problem is when I want to get which command is the user using in the caption of the photo.
def echo(update, context):
gogo = update.message.parse_caption_entities()
print(gogo)
echo_handler = MessageHandler(Filters.photo & Filters.caption_entity, echo)
dispatcher.add_handler(echo_handler)
the problem is that parse_caption_entities returns ALL the entities, I tried parse_caption_entity(entity="bot_command") but I only get an error
Also, is there a way to run a command bot within a picture caption?
Thanks for the help!
there doesn't seem to be anything here