Arman92/go-tdlib

forwardMessage: message to forward not found

clevertechru opened this issue · 2 comments

ERRO[0036] message repost failed. msg: {"id":94371840,"chat_id":-478600149,"sender_user_id":112620069,"is_outgoing":false,"content":{"@type":"messageText","text":{"@type":"formattedText","text":"yep","entities":[]}}}. tgbot.request: request api failed. code: 400, description: Bad Request: message to forward not found, method: forwardMessage, req: {"chat_id":-1001363008951,"from_chat_id":-478600149,"message_id":94371840}
for msg := range p.client.ListenNewMessages() {
  err = p.bot.ForwardMessage(int64(chatId), msg.ChatId, msg.Id)
  if err != nil {
    logger.Errorf("message repost failed. msg: %s. %+v", msg, err)
  }
}

did you solve this problem?