Fix UserIsBot and UserIsPremium fields in KeyboardButtonRequestUsers struct
parent
a687eafa68
commit
63e5c59035
4
types.go
4
types.go
|
@ -1958,13 +1958,13 @@ type KeyboardButtonRequestUsers struct {
|
||||||
// If not specified, no additional restrictions are applied.
|
// If not specified, no additional restrictions are applied.
|
||||||
//
|
//
|
||||||
// optional
|
// optional
|
||||||
UserIsBot bool `json:"user_is_bot,omitempty"`
|
UserIsBot *bool `json:"user_is_bot,omitempty"`
|
||||||
// UserIsPremium pass True to request a premium user,
|
// UserIsPremium pass True to request a premium user,
|
||||||
// pass False to request a non-premium user.
|
// pass False to request a non-premium user.
|
||||||
// If not specified, no additional restrictions are applied.
|
// If not specified, no additional restrictions are applied.
|
||||||
//
|
//
|
||||||
// optional
|
// 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.
|
// MaxQuantity is the maximum number of users to be selected.
|
||||||
// 1-10. Defaults to 1
|
// 1-10. Defaults to 1
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue