Mivra LogoMivra API K 简体中文

#sendRichMessage

Mivra 扩展方法。使用此方法发送带多种实体与样式的富文本消息,参数与 sendMessage 一致。成功返回发送的 Message 对象。

参数

参数类型必需说明
chat_idIntegerYes目标聊天 ID
textStringYes富文本内容
parse_modeStringOptional格式:HTML / MarkdownV2;或 entities
entitiesArray of MessageEntityOptionalJSON 序列化的实体数组
reply_markupMarkupOptional回复键盘
disable_notificationBooleanOptional静默发送
reply_to_message_idIntegerOptional回复的消息 ID
receiver_user_idIntegerOptional指定接收用户 ID 后,消息以临时消息(阅后即焚)形式送达
callback_query_idIntegerOptional与回调查询绑定的临时回复;不能与 reply_parameters 同时使用
reply_parametersJSON ObjectOptional{"message_id":n} 或 {"ephemeral_message_id":n},二选一
message_thread_idIntegerOptional话题(Thread)顶层消息 ID