Closed Qazaq159 closed 1 year ago
How to return photo from url. Actually, if send file it takes long time if i had bad internet connection.
b.SendPhoto(ctx, &bot.SendPhotoParams{ ChatID: update.Message.Chat.ID, Photo: &models.InputFileString{Data: photoUrl}, }) Found, if some need
b.SendPhoto(ctx, &bot.SendPhotoParams{ ChatID: update.Message.Chat.ID, Photo: &models.InputFileString{Data: photoUrl}, })
How to return photo from url. Actually, if send file it takes long time if i had bad internet connection.