Closed visciang closed 11 months ago
You can resume a chat bot session.
Explicit resume API:
:ok = MyChatBot.resume(token, chat_id, resume_state)
Optional callback on resume:
@impl Telegram.ChatBot def handle_resume(state) do # on resume logic {:ok, state} end
coverage: 100.0%. remained the same when pulling 23270f87f3d8d582bdb3e5edbb05a5d0e11af0d9 on chat-bot-resume into 28166fb2305eab5edbf7f78e04edcdfe87c1229c on master.
You can resume a chat bot session.
Explicit resume API:
Optional callback on resume: