Adding new code-generator (Butcher) (#1069)

* Re-generate types

* Re-generate methods (only attributes)

* Added enums

* Base init generator

* Added butcher configs

* Fixed tests, bump butcher

* Added changelog

* Added enum docs

* Added templates for docs index

* Re-generate bot class, remove deprecated methods
This commit is contained in:
Alex Root Junior 2022-11-21 01:06:55 +02:00 committed by GitHub
parent c7779abc50
commit d034c1ba9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
387 changed files with 32036 additions and 3144 deletions

View file

@ -0,0 +1,59 @@
{
"meta": {
"deprecated": false
},
"group": {
"title": "Available types",
"anchor": "available-types"
},
"object": {
"anchor": "chatjoinrequest",
"name": "ChatJoinRequest",
"description": "Represents a join request sent to a chat.",
"html_description": "<p>Represents a join request sent to a chat.</p>",
"rst_description": "Represents a join request sent to a chat.",
"annotations": [
{
"type": "Chat",
"description": "Chat to which the request was sent",
"html_description": "<td>Chat to which the request was sent</td>",
"rst_description": "Chat to which the request was sent\n",
"name": "chat",
"required": true
},
{
"type": "User",
"description": "User that sent the join request",
"html_description": "<td>User that sent the join request</td>",
"rst_description": "User that sent the join request\n",
"name": "from",
"required": true
},
{
"type": "Integer",
"description": "Date the request was sent in Unix time",
"html_description": "<td>Date the request was sent in Unix time</td>",
"rst_description": "Date the request was sent in Unix time\n",
"name": "date",
"required": true
},
{
"type": "String",
"description": "Bio of the user.",
"html_description": "<td><em>Optional</em>. Bio of the user.</td>",
"rst_description": "*Optional*. Bio of the user.\n",
"name": "bio",
"required": false
},
{
"type": "ChatInviteLink",
"description": "Chat invite link that was used by the user to send the join request",
"html_description": "<td><em>Optional</em>. Chat invite link that was used by the user to send the join request</td>",
"rst_description": "*Optional*. Chat invite link that was used by the user to send the join request\n",
"name": "invite_link",
"required": false
}
],
"category": "types"
}
}

View file

@ -0,0 +1,5 @@
annotations:
date:
parsed_type:
type: std
name: datetime.datetime