https://core.telegram.org/bots/api#update
when receiving getUpdates from telegram it will reply in one of optional field below:
message,edited_message,inline_query,chosen_inline_result,callback_query
So far this lib only support message and do not expect other type field. This quick patch will fix crash issue when it receive field other than message.
But add support for other type of update field still needed. This is just a quick fix for not crashing the lib.
https://core.telegram.org/bots/api#update when receiving getUpdates from telegram it will reply in one of optional field below: message,edited_message,inline_query,chosen_inline_result,callback_query So far this lib only support message and do not expect other type field. This quick patch will fix crash issue when it receive field other than message.
But add support for other type of update field still needed. This is just a quick fix for not crashing the lib.