This commit is contained in:
parent
907a191bfa
commit
48d565111e
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
|
@ -391,7 +391,7 @@ func (h *handler) ProcessPost(event *models.Event) error {
|
|||
mediaGroup = append(mediaGroup, mediaAdd)
|
||||
}
|
||||
}
|
||||
} else if po[0].Type == "external" {
|
||||
} else if po[0].Type == "gif" || po[0].Type == "external" {
|
||||
tenorGif := tgbotapi.NewInputMediaVideo(tgbotapi.FileURL(po[0].URI))
|
||||
tenorGif.Caption = captionText
|
||||
tenorGif.ParseMode = tgbotapi.ModeHTML
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue