Remove redundant pointer for PhotoSize slice in PaidMedia structure
OvyFlash olegshva4ko@gmail.com
Sun, 07 Jul 2024 00:59:14 +0300
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
types.go
→
types.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"`