Closed mafia-007 closed 1 year ago
What do you mean by that? The link is broken.
Added method Deleting messages Is testing telegram
Sorry I can't understand you.
The method for deleting messages: deleteMessage is not implement it throws an :
api.rb:53:in `method_missing': undefined method `delete_message'
when used example:
@@bot.api.delete_message( chat_id: @id_chat, message_id: @id_mensaje)
Now I see, thank you for the report. I will take a look in a few hours.
As I can see deleteMessage
method was added in Bot API 3.0 (CHANGELOG), right?
We plan to implement API 3.0 changes in #118
@mafia-007 @LuisGi93 Bot API 3.0 changes was implemented. Please check once again.
Working fine, for me this issue is resolved.
Hello, is it possible to clear the history of the chat ? if so how ? I tried like
bot.api.deleteMessage(chat_id: message.chat.id, message_id: message.from.id)
but does not work. Thanks
@lecabel the gem is just a simple wrapper over Bot API. Please read the documentation thoroughly.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.