Closed Darksidis closed 2 years ago
I figured out, there is a SendMediaGroup that returns a []Message
The return value of the Send
(Message, error)
The return value of the SendMediaGroup
([]Message, error)
I would make this point more explicit in the documentation
I need to get the id from the sent post, I send NewMediaGroup.
When trying to do something like this
An error pops up:
json: cannot unmarshal array into Go value of type tgbotapi.Message
How can this be resolved?