nmlorg · GitHub

added 2 commits

January 1, 2018 10:13
…without an effective_chat, so just go ahead and check for that explicitly. This should be pretty future proof.
(I'm not sure what `update.callback_query and self.per_chat and not update.callback_query.message` is doing, though. _get_key only directly touches update.callback_query if self.per_message (not self.per_chat) is set, and only requires update.callback_query.message if not update.callback_query.inline_message_id. I'm not sure what the use case is, so just leaving it alone for now.)
Add a new test_all_update_types which just runs through a quick list of update types. This is not future proof. Maybe add a list of all possible update types as Update.TYPES in a followup?

tsnoam

@tsnoam

@nmlorg

nmlorg deleted the conversationhandler-check_update branch

February 12, 2018 18:24

This was referenced

Mar 2, 2018

Closed

Closed

Merged

Merged

Merged

Read the original on github.com ↗