Skip to content

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

Class: UsersShared

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

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:2317

Parameters

ParameterType
payloadTelegramUsersShared

Returns

UsersShared

Properties

PropertyTypeDefined in
payloadTelegramUsersSharedcontexts/index.d.ts:2316

Accessors

[toStringTag]

Get Signature

get [toStringTag](): string

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

MDN

Returns

string


requestId

Get Signature

get requestId(): number

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

Identifier of the request

Returns

number


users

Get Signature

get users(): SharedUser[]

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

Information about users shared with the bot.

Returns

SharedUser[]