typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
13 lines (12 loc) • 514 B
TypeScript
import { InputMediaAnimation, InputMediaDocument, InputMediaAudio, InputMediaPhoto, InputMediaVideo } from './';
/**
* ## InputMedia
* This object represents the content of a media message to be sent. It should be one of
* - InputMediaAnimation
* - InputMediaDocument
* - InputMediaAudio
* - InputMediaPhoto
* - InputMediaVideo
* @see https://core.telegram.org/bots/api#inputmedia
*/
export type InputMedia = InputMediaAnimation | InputMediaDocument | InputMediaAudio | InputMediaPhoto | InputMediaVideo;