Open s3rj1k opened 5 years ago
sendText example tries to send text messages to Foursquare bot So if you do not have it in your chats list, you can't send a message to it.
I think it's better to fisrt get the chats list (check out getChats example) then try sending your message to one your chats.
It does not mater to what ID i try to send, I was tying to send to myself
Just checked - it works. @s3rj1k are you shure you exactly set ID of chat with you. Not your userID
100% sure, does not work for any of the chatIDs provided by getChats
I cannot make the send text example work somehow. Any help here?
@s3rj1k I checked message sent from SendMessage method, its state will be messageStatePending. You need to use GetUpdateChannel to get it from pending state then it will be sent.
Hi I receive undefined sync.Map when trying to download: go get github/Arman92/go-tdlib Thanks in advance.
I installed go version 1.9 and solved.
error message is error! code: %!d(float64=5) msg: Chat not found