You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to edit a message that I'm sending to a user via:
Sent = myBot.sendTo(userid[0], msgtxt);
BUT to edit the message I need the messageID of that message, how do I get it??
the SendTo function only returns a boolean and I also tried with this method:
but msg.messageID is not the real number :(
I only get the real messageID from received messages, but I don't want to edit a received message, I want to edit the message that I send.
any help?
The text was updated successfully, but these errors were encountered:
I want to edit a message that I'm sending to a user via:
Sent = myBot.sendTo(userid[0], msgtxt);
BUT to edit the message I need the messageID of that message, how do I get it??
the SendTo function only returns a boolean and I also tried with this method:
TBMessage msg;
msg.chatId =userid[0];
myBot.sendMessage(msg, "test");
Serial.println(" messageID: " + String(msg.messageID));
but msg.messageID is not the real number :(
I only get the real messageID from received messages, but I don't want to edit a received message, I want to edit the message that I send.
any help?
The text was updated successfully, but these errors were encountered: