fix: GetImpersonationToken external_id handling

This commit is contained in:
nihonium 2025-12-06 05:15:21 +03:00
parent afb1db17bd
commit 8bd515c33f
Signed by: nihonium
GPG key ID: 0251623741027CFC
7 changed files with 70 additions and 52 deletions

View file

@ -19,9 +19,9 @@ const (
// GetImpersonationTokenJSONBody defines parameters for GetImpersonationToken.
type GetImpersonationTokenJSONBody struct {
TgId *int64 `json:"tg_id,omitempty"`
UserId *int64 `json:"user_id,omitempty"`
union json.RawMessage
ExternalId *int64 `json:"external_id,omitempty"`
UserId *int64 `json:"user_id,omitempty"`
union json.RawMessage
}
// GetImpersonationTokenJSONBody0 defines parameters for GetImpersonationToken.