I am using func (*tgbotapi.BotAPI).Send(c tgbotapi.Chattable) (tgbotapi.Message, error) to send messages to multiple groups.
When i'm attempting to send a message to some groups i'm receiving Bad Request: chat not found error.
Bot added to all groups i'm working with.
I have verified group IDs multiple times.
Some researching
Issue is consistently observed across a total of 157 chats. Chat IDs ranges from -3******** (9 digits) to -1********* (10 digits).
Error occurs ONLY for chats within 10 digits IDs (with 1 exception of 19 tested).
Information
I am using
func (*tgbotapi.BotAPI).Send(c tgbotapi.Chattable) (tgbotapi.Message, error)
to send messages to multiple groups. When i'm attempting to send a message to some groups i'm receivingBad Request: chat not found
error.Some researching
-3********
(9 digits) to-1*********
(10 digits).