Fix UserIsBot and UserIsPremium fields in KeyboardButtonRequestUsers struct

pull/13/head
OvyFlash 2024-01-09 01:09:38 +02:00
parent a687eafa68
commit 63e5c59035
1 changed files with 2 additions and 2 deletions

View File

@ -1958,13 +1958,13 @@ type KeyboardButtonRequestUsers struct {
// If not specified, no additional restrictions are applied.
//
// optional
UserIsBot bool `json:"user_is_bot,omitempty"`
UserIsBot *bool `json:"user_is_bot,omitempty"`
// UserIsPremium pass True to request a premium user,
// pass False to request a non-premium user.
// If not specified, no additional restrictions are applied.
//
// optional
UserIsPremium bool `json:"user_is_premium,omitempty"`
UserIsPremium *bool `json:"user_is_premium,omitempty"`
// MaxQuantity is the maximum number of users to be selected.
// 1-10. Defaults to 1
//