Skip to content

GramIO API Reference / @gramio/contexts/dist / UsersShared

Class: UsersShared

Defined in: contexts/index.d.ts:3223

This object contains information about the user whose identifier was shared with the bot using a KeyboardButtonRequestUser button.

Constructors

Constructor

new UsersShared(payload): UsersShared

Defined in: contexts/index.d.ts:3225

Parameters

ParameterType
payloadTelegramUsersShared

Returns

UsersShared

Properties

PropertyTypeDefined in
payloadTelegramUsersSharedcontexts/index.d.ts:3224

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

Defined in: contexts/index.d.ts:3227

MDN

Returns

string


requestId

Get Signature

get requestId(): number

Defined in: contexts/index.d.ts:3229

Identifier of the request

Returns

number


users

Get Signature

get users(): SharedUser[]

Defined in: contexts/index.d.ts:3231

Information about users shared with the bot.

Returns

SharedUser[]