Skip to content

How to track new WebAppQuery? #1515

Answered by mazik7512
mazik7512 asked this question in Q&A
Discussion options

You must be logged in to vote

okay, i solved this with update_listener:

def listener(messages):
    for m in messages:
        print(m.json['web_app_data']['data'])


bot.set_update_listener(listener)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@mazik7512
Comment options

Comment options

You must be logged in to vote
1 reply
@Peibolvig
Comment options

Answer selected by mazik7512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants