Full support of Bot API 7.3 (#1480)

* Added full support of Bot API

* Added full support of Bot API

* Fixed tests

* Added changelog

* Bump version
This commit is contained in:
Alex Root Junior 2024-05-06 23:27:54 +03:00 committed by GitHub
parent 6d655330af
commit cf2980a9c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
137 changed files with 3422 additions and 929 deletions

View file

@ -0,0 +1 @@
text_parse_mode: parse_mode

View file

@ -0,0 +1,41 @@
{
"meta": {},
"group": {
"title": "Available types",
"anchor": "available-types"
},
"object": {
"anchor": "inputpolloption",
"name": "InputPollOption",
"description": "This object contains information about one answer option in a poll to send.",
"html_description": "<p>This object contains information about one answer option in a poll to send.</p>",
"rst_description": "This object contains information about one answer option in a poll to send.",
"annotations": [
{
"type": "String",
"description": "Option text, 1-100 characters",
"html_description": "<td>Option text, 1-100 characters</td>",
"rst_description": "Option text, 1-100 characters\n",
"name": "text",
"required": true
},
{
"type": "String",
"description": "Mode for parsing entities in the text. See formatting options for more details. Currently, only custom emoji entities are allowed",
"html_description": "<td><em>Optional</em>. Mode for parsing entities in the text. See <a href=\"#formatting-options\">formatting options</a> for more details. Currently, only custom emoji entities are allowed</td>",
"rst_description": "*Optional*. Mode for parsing entities in the text. See `formatting options <https://core.telegram.org/bots/api#formatting-options>`_ for more details. Currently, only custom emoji entities are allowed\n",
"name": "text_parse_mode",
"required": false
},
{
"type": "Array of MessageEntity",
"description": "A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of text_parse_mode",
"html_description": "<td><em>Optional</em>. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of <em>text_parse_mode</em></td>",
"rst_description": "*Optional*. A JSON-serialized list of special entities that appear in the poll option text. It can be specified instead of *text_parse_mode*\n",
"name": "text_entities",
"required": false
}
],
"category": "types"
}
}