Open peanut996 opened 1 year ago
When send a chat action
typing
telegram api will only return"true"
which cause
err: json: cannot unmarshal bool into Go value of type tgbotapi.Message
so should we add more judgement when unmarshal api response?
Read this comment, that should help
When send a chat action
typing
telegram api will only return"true"
which causeerr: json: cannot unmarshal bool into Go value of type tgbotapi.Message
so should we add more judgement when unmarshal api response?