fix(tgapi): accept string chat boost IDs

This commit is contained in:
2026-03-25 18:20:20 +03:00
parent 158625c220
commit 5d3199dc21
4 changed files with 32 additions and 5 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ type ChatBoostSource struct {
// ChatBoost represents a boost added to a chat.
// See https://core.telegram.org/bots/api#chatboost
type ChatBoost struct {
BoostID int `json:"boost_id"`
BoostID string `json:"boost_id"`
AddDate int `json:"add_date"`
ExpirationDate int `json:"expiration_date"`
Source ChatBoostSource `json:"source"`