mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
📝 fix sphinx build errors
This commit is contained in:
@ -245,12 +245,12 @@ message += MessageSegment.atDingtalkIds(event.senderId)
|
||||
|
||||
### _static_ `extension(dict_)`
|
||||
|
||||
"标记 text 文本的 extension 属性,需要与 text 消息段相加。
|
||||
标记 text 文本的 extension 属性,需要与 text 消息段相加。
|
||||
|
||||
|
||||
### _static_ `code(code_language, code)`
|
||||
|
||||
"发送 code 消息段
|
||||
发送 code 消息段
|
||||
|
||||
|
||||
### _static_ `markdown(title, text)`
|
||||
@ -274,7 +274,7 @@ message += MessageSegment.atDingtalkIds(event.senderId)
|
||||
* `btnOrientation`: 0:按钮竖直排列 1:按钮横向排列
|
||||
|
||||
|
||||
* `btns`: [{ "title": title, "actionURL": actionURL }, ...]
|
||||
* `btns`: `[{ "title": title, "actionURL": actionURL }, ...]`
|
||||
|
||||
|
||||
|
||||
@ -286,7 +286,7 @@ message += MessageSegment.atDingtalkIds(event.senderId)
|
||||
* **参数**
|
||||
|
||||
|
||||
* `links`: [{ "title": xxx, "messageURL": xxx, "picURL": xxx }, ...]
|
||||
* `links`: `[{ "title": xxx, "messageURL": xxx, "picURL": xxx }, ...]`
|
||||
|
||||
|
||||
|
||||
|
@ -292,7 +292,7 @@ API中为了使代码更加整洁, 我们采用了与PEP8相符的命名规则
|
||||
* **参数**
|
||||
|
||||
|
||||
* `type: str`: "friend" 或 "group" 或 "temp"
|
||||
* `type: str`: “friend” 或 “group” 或 “temp”
|
||||
|
||||
|
||||
* `img: BytesIO`: 图片的BytesIO对象
|
||||
@ -311,7 +311,7 @@ API中为了使代码更加整洁, 我们采用了与PEP8相符的命名规则
|
||||
* **参数**
|
||||
|
||||
|
||||
* `type: str`: 当前仅支持 "group"
|
||||
* `type: str`: 当前仅支持 “group”
|
||||
|
||||
|
||||
* `voice: BytesIO`: 语音的BytesIO对象
|
||||
|
Reference in New Issue
Block a user