Module Import alias ImportFrom alias alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias Expr Str FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Print Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Print Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Print Str NameLoad NameLoad NameLoad Assign NameStore ListLoad Dict Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Print Str NameLoad NameLoad NameLoad decorator_list Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad keyword NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Str decorator_list Call AttributeLoad NameLoad attr Str keyword ListLoad Str Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad
N/A N/A sys flask Flask request N/A telepot N/A N/A Queue Queue N/A N/A N/A ImportError N/A queue Queue N/A 
$ python2.7 webhook_flask_skeleton.py <token> <listening_port> <webhook_url>

Webhook path is '/abc' (see below), therefore:

<webhook_url>: https://<base>/abc
 on_chat_message N/A N/A msg N/A N/A N/A N/A content_type chat_type chat_id N/A N/A telepot glance msg N/A Chat Message: content_type chat_type chat_id N/A on_callback_query N/A N/A msg N/A N/A N/A N/A query_id from_id data N/A N/A telepot glance msg flavor callback_query N/A Callback query: query_id from_id data N/A on_inline_query N/A N/A msg N/A N/A N/A N/A query_id from_id query_string N/A N/A telepot glance msg flavor inline_query N/A Inline Query: query_id from_id query_string N/A articles N/A N/A type id title message_text article abc ABC Good morning N/A N/A N/A bot answerInlineQuery query_id articles N/A on_chosen_inline_result N/A N/A msg N/A N/A N/A N/A result_id from_id query_string N/A N/A telepot glance msg flavor chosen_inline_result N/A Chosen Inline Result: result_id from_id query_string N/A N/A TOKEN N/A N/A sys argv N/A 1 N/A PORT N/A int N/A N/A sys argv N/A 2 N/A URL N/A N/A sys argv N/A 3 N/A app N/A Flask __name__ N/A bot N/A N/A telepot Bot TOKEN N/A update_queue N/A Queue N/A N/A N/A bot message_loop N/A chat callback_query inline_query chosen_inline_result on_chat_message on_callback_query on_inline_query on_chosen_inline_result source update_queue pass_update N/A N/A N/A N/A N/A N/A N/A update_queue put N/A request data N/A OK N/A N/A N/A app route /abc methods N/A GET POST N/A N/A __name__ __main__ N/A N/A N/A N/A bot setWebhook URL N/A N/A N/A app run port PORT debug True