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
{{ message }}
Repository navigation
ForwardMessagesAsync Gives me an invalid id of the sent message #159
Client.ForwardMessagesAsync, somehow works strangely, why do I get the id of a message that, just by one more than the id of the previous message from the chat. And when I try to find this message in this chat through the received id, I get an error.
Example my code for get id:
var messages = await Client.ForwardMessagesAsync(
chatId: chatId,
fromChatId: fromChatId,
messageIds: new[] { postId },
sendCopy: true);
return messages.Messages_[0].Id;
=[20:24:44]m_id[151400742912] message
=forward post -> [20:24:44] m_id[151400742913] forward message
messages.Messages_[0].Id = 151400742913
when i get chathistory
=[20:24:44]m_id[151400742912] message
=[20:24:44] m_id[151401791488] forward message
Or should I calculate this id myself so 151400742913 - 1 + 1048576
Activity