Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/types.ts>UsersShared

The Telegram Bot Framework.
Very Popular
Go to Latest
interface UsersShared
import { type UsersShared } from "https://deno.land/x/grammy@v1.21.1/types.ts";

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

Properties

request_id: number

Identifier of the request

user_ids: number[]

Identifiers of the shared users. The bot may not have access to the users and could be unable to use these identifiers, unless the users are already known to the bot by some other means.