Arman92 / go-tdlib

Golang Telegram TdLib JSON bindings
GNU General Public License v3.0
435 stars 101 forks source link

Error in getting chat list: cannot unmarshal #69

Open leerenix opened 3 years ago

leerenix commented 3 years ago

There is an issue with getting chat list. In some cases (why exactly it happens I couldn't understand) unmarshaling result.Raw to chatDummy fails with error "json: cannot unmarshal object into Go struct field .last_message of type tdlib.MessageSender". I`ve attached result.Raw: https://pastebin.com/F1wq4zfg

mwei0210 commented 3 years ago

getting the same error, any idea?