Closed Nmerey closed 4 months ago
Context is based on session. See how to configure session key in docs https://github.com/telegram-bot-rb/telegram-bot#session
By default it only uses user id: https://github.com/telegram-bot-rb/telegram-bot/blob/master/lib/telegram/bot/updates_controller/session.rb#L33
When using Poller mode,
save_context
does not trigger passed method when used in group chat but works in bot's chat.Below is when used in group chat:
It does not fetch updates:
When used in bot's chat
save_context
triggersget_location
method passed to it:It does fetch updates:
Questions: