Bot API 方法
sendMessage
16 个参数。必填项已标出。
参数
参数类型必填
business_connection_idString否
chat_idInteger or String是
message_thread_idInteger否
direct_messages_topic_idInteger否
ephemeral_message_parametersEphemeralMessageParameters否
textString是
parse_modeString否
entitiesArray of MessageEntity否
link_preview_optionsLinkPreviewOptions否
disable_notificationBoolean否
protect_contentBoolean否
allow_paid_broadcastBoolean否
message_effect_idString否
suggested_post_parametersSuggestedPostParameters否
reply_parametersReplyParameters否
reply_markupInlineKeyboardMarkup or ReplyKeyboardMarkup or ReplyKeyboardRemove or ForceReply否
相关方法
按共同参数计算——原始文档没有这种视角。