TgKit library and website are still in early development!

UserShared Class

extends Base

Information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUser button

Properties

client Client

See the code

requestId number

Identifier of the request.

See the code

userId number

Identifier of the shared user. The bot may not have access to the user and could be unable to use this identifier, unless the user is already known to the bot by some other means.

See the code