TgKit library and website are still in early development!

KeyboardButtonRequestUser Interface

Properties

requestId number

Identifier of the request, which will be received back in the UserShared object. Must be unique within the message

See the code

userIsBot boolean

Pass *true* to request a bot, pass False to request a regular user. If not specified, no additional restrictions are applied.

See the code

userIsPremium boolean

Pass *true* to request a premium user, pass False to request a non-premium user. If not specified, no additional restrictions are applied.

See the code