typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
18 lines (17 loc) • 452 B
TypeScript
import { SharedUser } from './';
/**
* ## UsersShared
* This object contains information about the users whose identifiers were shared with the bot using a
* KeyboardButtonRequestUsers button.
* @see https://core.telegram.org/bots/api#usersshared
*/
export type UsersShared = {
/**
* Identifier of the request
*/
request_id: number;
/**
* Information about users shared with the bot.
*/
users: SharedUser[];
};