TelegramBot.sendVideo

Send video

Video must be in mp4 format

  1. Message sendVideo(T chat_id, string video)
    struct TelegramBot
    @trusted
    sendVideo
    (
    T
    )
    (,
    string video
    )
  2. Message sendVideo(SendVideoMethod m)

Parameters

chat_id T

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

video string

HTTP URL to get video from the internet or file_id of the file on Telegram

Return Value

Type: Message

Sent Message

Throws

TelegramBotException on errors

See Also

Meta