botman / driver-telegram

BotMan Telegram Driver
MIT License
86 stars 75 forks source link

Error retrieving user contact #93

Closed miki131 closed 3 years ago

miki131 commented 3 years ago

Based on the documentation https://core.telegram.org/bots/api#contact some fields are optional, so we need handle this situation.

miki131 commented 3 years ago

Sorry, I have an outdated version. Fixed in https://github.com/botman/driver-telegram/commit/e226215f9017f5323bedcb796d504cc99abea52f