Bot API 方法

sendVideo

25 个参数。必填项已标出。

参数

参数类型必填
business_connection_idString否
chat_idInteger or String是
message_thread_idInteger否
direct_messages_topic_idInteger否
ephemeral_message_parametersEphemeralMessageParameters否
videoInputFile or String是
durationInteger否
widthInteger否
heightInteger否
thumbnailInputFile or String否
coverInputFile or String否
start_timestampInteger否
captionString否
parse_modeString否
caption_entitiesArray of MessageEntity否
show_caption_above_mediaBoolean否
has_spoilerBoolean否
supports_streamingBoolean否
disable_notificationBoolean否
protect_contentBoolean否
allow_paid_broadcastBoolean否
message_effect_idString否
suggested_post_parametersSuggestedPostParameters否
reply_parametersReplyParameters否
reply_markupInlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply否

相关方法

按共同参数计算——原始文档没有这种视角。

方法的说明在 Telegram: 原始文档 · 完整参考