all repos — telegram-bot-api @ 8d9704f6dbff1e03c479a64aa06c7653df22d926

Golang bindings for the Telegram Bot API

Remove redundant pointer for PhotoSize slice in PaidMedia structure
OvyFlash olegshva4ko@gmail.com
Sun, 07 Jul 2024 00:59:14 +0300
commit

8d9704f6dbff1e03c479a64aa06c7653df22d926

parent

a8238b8afdf33cb2cf76730e43cbd5c57d82a299

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M types.gotypes.go

@@ -1562,7 +1562,7 @@ // optional

Duration int64 `json:"duration,omitempty"` // PaidMediaPhoto only. // The photo - Photo *[]PhotoSize `json:"photo,omitempty"` + Photo []PhotoSize `json:"photo,omitempty"` // PaidMediaVideo only. // The video Video *Video `json:"video,omitempty"`