tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

sendMessageAlbum not received update updateMessageSendSucceeded #2595

Closed viet0511 closed 1 year ago

viet0511 commented 1 year ago

I'm trying to use sendMessageAlbum to send multiple photo groups, Messages are delivered but no updateMessageSendSucceeded was received so I can't know what is server message_id of those messages is.

I print all updates after sending those messages and only receive UpdateNewMessage and UpdateChatLastMessage but can't know what server message_id is from that.

If use the function sendMessage the updateMessageSendSucceeded is received normally.

I'm using TDLib version: 1.8.16 Using java wrapper tdlight-java

Is sendMessageAlbum will not produce updateMessageSendSucceeded? And If not how do I find out the server message_id of those messages?

levlam commented 1 year ago

The update updateMessageSendSucceeded will be received for all successfully sent from this session messages, including messages sent by sendMessageAlbum.