Closed yuri-karpovich closed 3 years ago
Thank you for this app example. It's nice and clean.
Can you help me please with clearing messages history? I want to clean messages history in chat after a user has finished conversation with bot. Is it possible?
found a solution
bot.request(:deleteMessage, chat_id: payload['chat']['id'], message_id: payload['message_id'])
Thank you for this app example. It's nice and clean.
Can you help me please with clearing messages history? I want to clean messages history in chat after a user has finished conversation with bot. Is it possible?