Skip to content

How do I catch and handle this error myself? #1954

Answered by MKRhere
hashfi-motion asked this question in Q&A
Discussion options

You must be logged in to vote

You must await your API calls, for example await ctx.answerCbQuery(...), otherwise Telegraf cannot handle errors.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hashfi-motion
Comment options

@Flmob
Comment options

Answer selected by hashfi-motion
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