by the bot in a private chat. I'll explain the order: 
                  
                  
                  
                  
                  
                  1) i write a message (message id = 1)
                  
                  
                  2) bot with sendMessage write a new message (message id = 2)
                  
                  
                  3) i want to edit last message (message id = 2).
                  
                  
                  
                  
                  
                  How can i do ?
                  
                  
                  maybe after the sendMessage I have to notify the bot that the message has been sent?
                  
                  
                
https://core.telegram.org/bots/api#editmessagetext
just use this method with chat id and msg id...
Обсуждают сегодня