UNPKG

typescript-telegram-bot-api

Version:

Telegram Bot API wrapper for Node.js written in TypeScript

21 lines (20 loc) 475 B
import { User } from './User'; /** * ## MessageOriginUser * The message was originally sent by a known user. * @see https://core.telegram.org/bots/api#messageoriginuser */ export type MessageOriginUser = { /** * Type of the message origin, always “user” */ type: 'user'; /** * Date the message was sent originally in Unix time */ date: number; /** * User that sent the message originally */ sender_user: User; };