#sendRichMessage
Mivra 扩展方法。使用此方法发送带多种实体与样式的富文本消息,参数与 sendMessage 一致。成功返回发送的 Message 对象。
参数
| 参数 | 类型 | 必需 | 说明 |
|---|---|---|---|
| chat_id | Integer | Yes | 目标聊天 ID |
| text | String | Yes | 富文本内容 |
| parse_mode | String | Optional | 格式:HTML / MarkdownV2;或 entities |
| entities | Array of MessageEntity | Optional | JSON 序列化的实体数组 |
| reply_markup | Markup | Optional | 回复键盘 |
| disable_notification | Boolean | Optional | 静默发送 |
| reply_to_message_id | Integer | Optional | 回复的消息 ID |
| receiver_user_id | Integer | Optional | 指定接收用户 ID 后,消息以临时消息(阅后即焚)形式送达 |
| callback_query_id | Integer | Optional | 与回调查询绑定的临时回复;不能与 reply_parameters 同时使用 |
| reply_parameters | JSON Object | Optional | {"message_id":n} 或 {"ephemeral_message_id":n},二选一 |
| message_thread_id | Integer | Optional | 话题(Thread)顶层消息 ID |
