Closed AndrewTran2018 closed 1 year ago
See https://github.com/tdlib/td/issues/578. This particular issue is about user identifiers, but everything written there can be also applied to chat identifiers. You can't use a chat identifier, unless you received it from TDLib after instance restart.
See #578. This particular issue is about user identifiers, but everything written there can be also applied to chat identifiers. You can't use a chat identifier, unless you received it from TDLib after instance restart.
This seems to be solved by calling GetChats at the first time login @levlam
@levlam I solve it by calling CreatePrivateChat(chatId) before sendMessage
I'm using tdlib 1.8.11. Please help @levlam @sebix