@grom.js/bot-api-spec 0.7.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![bot-api](https://img.shields.io/badge/v9.4-000?style=flat&logo=telegram&logoColor=%2325A3E1&label=Bot%20API&labelColor=%23000&color=%2325A3E1)][bot-api]
1
+ [![bot-api](https://img.shields.io/badge/v9.6-000?style=flat&logo=telegram&logoColor=%2325A3E1&label=Bot%20API&labelColor=%23000&color=%2325A3E1)][bot-api]
2
2
  [![npm](https://img.shields.io/npm/v/%40grom.js%2Fbot-api-spec?style=flat&logo=npm&logoColor=%23BB443E&logoSize=auto&label=Latest&labelColor=%23fff&color=%23BB443E)](https://www.npmjs.com/package/@grom.js/bot-api-spec)
3
3
  [![jsr](https://img.shields.io/jsr/v/%40grom/bot-api-spec?style=flat&logo=jsr&logoColor=%231B3646&logoSize=auto&label=Latest&labelColor=%23F3E051&color=%231B3646)](https://jsr.io/@grom/bot-api-spec)
4
4
 
@@ -50,6 +50,7 @@ export declare const methods: {
50
50
  restrictChatMember: ApiMethod;
51
51
  promoteChatMember: ApiMethod;
52
52
  setChatAdministratorCustomTitle: ApiMethod;
53
+ setChatMemberTag: ApiMethod;
53
54
  banChatSenderChat: ApiMethod;
54
55
  unbanChatSenderChat: ApiMethod;
55
56
  setChatPermissions: ApiMethod;
@@ -91,6 +92,8 @@ export declare const methods: {
91
92
  answerCallbackQuery: ApiMethod;
92
93
  getUserChatBoosts: ApiMethod;
93
94
  getBusinessConnection: ApiMethod;
95
+ getManagedBotToken: ApiMethod;
96
+ replaceManagedBotToken: ApiMethod;
94
97
  setMyCommands: ApiMethod;
95
98
  deleteMyCommands: ApiMethod;
96
99
  getMyCommands: ApiMethod;
@@ -133,6 +136,9 @@ export declare const methods: {
133
136
  repostStory: ApiMethod;
134
137
  editStory: ApiMethod;
135
138
  deleteStory: ApiMethod;
139
+ answerWebAppQuery: ApiMethod;
140
+ savePreparedInlineMessage: ApiMethod;
141
+ savePreparedKeyboardButton: ApiMethod;
136
142
  editMessageText: ApiMethod;
137
143
  editMessageCaption: ApiMethod;
138
144
  editMessageMedia: ApiMethod;
@@ -162,8 +168,6 @@ export declare const methods: {
162
168
  setCustomEmojiStickerSetThumbnail: ApiMethod;
163
169
  deleteStickerSet: ApiMethod;
164
170
  answerInlineQuery: ApiMethod;
165
- answerWebAppQuery: ApiMethod;
166
- savePreparedInlineMessage: ApiMethod;
167
171
  sendInvoice: ApiMethod;
168
172
  createInvoiceLink: ApiMethod;
169
173
  answerShippingQuery: ApiMethod;
@@ -1 +1 @@
1
- {"version":3,"file":"methods.gen.d.ts","sourceRoot":"","sources":["../src/methods.gen.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA+0X5C;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsKnB,CAAA"}
1
+ {"version":3,"file":"methods.gen.d.ts","sourceRoot":"","sources":["../src/methods.gen.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAuiY5C;;;;;GAKG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0KnB,CAAA"}
@@ -3935,17 +3935,60 @@ const sendPoll = {
3935
3935
  type: 'bool',
3936
3936
  },
3937
3937
  description: {
3938
- markdown: '_True_, if the poll allows multiple answers, ignored for polls in quiz mode, defaults to _False_',
3938
+ markdown: 'Pass _True_, if the poll allows multiple answers, defaults to _False_',
3939
3939
  },
3940
3940
  required: false,
3941
3941
  },
3942
3942
  {
3943
- name: 'correct_option_id',
3943
+ name: 'allows_revoting',
3944
3944
  type: {
3945
- type: 'int32',
3945
+ type: 'bool',
3946
+ },
3947
+ description: {
3948
+ markdown: 'Pass _True_, if the poll allows to change chosen answer options, defaults to _False_ for quizzes and to _True_ for regular polls',
3949
+ },
3950
+ required: false,
3951
+ },
3952
+ {
3953
+ name: 'shuffle_options',
3954
+ type: {
3955
+ type: 'bool',
3956
+ },
3957
+ description: {
3958
+ markdown: 'Pass _True_, if the poll options must be shown in random order',
3959
+ },
3960
+ required: false,
3961
+ },
3962
+ {
3963
+ name: 'allow_adding_options',
3964
+ type: {
3965
+ type: 'bool',
3966
+ },
3967
+ description: {
3968
+ markdown: 'Pass _True_, if answer options can be added to the poll after creation; not supported for anonymous polls and quizzes',
3969
+ },
3970
+ required: false,
3971
+ },
3972
+ {
3973
+ name: 'hide_results_until_closes',
3974
+ type: {
3975
+ type: 'bool',
3946
3976
  },
3947
3977
  description: {
3948
- markdown: '0-based identifier of the correct answer option, required for polls in quiz mode',
3978
+ markdown: 'Pass _True_, if poll results must be shown only after the poll closes',
3979
+ },
3980
+ required: false,
3981
+ },
3982
+ {
3983
+ name: 'correct_option_ids',
3984
+ type: {
3985
+ type: 'array',
3986
+ of: {
3987
+ type: 'int32',
3988
+ },
3989
+ },
3990
+ description: {
3991
+ markdown: 'An array of monotonically increasing 0-based identifiers of the correct answer options, required for polls in quiz mode',
3949
3992
  },
3950
3993
  required: false,
3951
3994
  },
@@ -4003,7 +4046,7 @@ const sendPoll = {
4003
4046
  type: 'int32',
4004
4047
  },
4005
4048
  description: {
4006
- markdown: 'Amount of time in seconds the poll will be active after creation, 5-600. Can\'t be used together with _close\\_date_.',
4049
+ markdown: 'Amount of time in seconds the poll will be active after creation, 5-2628000. Can\'t be used together with _close\\_date_.',
4007
4050
  },
4008
4051
  required: false,
4009
4052
  },
@@ -4013,7 +4056,7 @@ const sendPoll = {
4013
4056
  type: 'int32',
4014
4057
  },
4015
4058
  description: {
4016
- markdown: 'Point in time (Unix timestamp) when the poll will be automatically closed. Must be at least 5 and no more than 600 seconds in the future. Can\'t be used together with _open\\_period_.',
4059
+ markdown: 'Point in time (Unix timestamp) when the poll will be automatically closed. Must be at least 5 and no more than 2628000 seconds in the future. Can\'t be used together with _open\\_period_.',
4017
4060
  },
4018
4061
  required: false,
4019
4062
  },
@@ -4027,6 +4070,40 @@ const sendPoll = {
4027
4070
  },
4028
4071
  required: false,
4029
4072
  },
4073
+ {
4074
+ name: 'description',
4075
+ type: {
4076
+ type: 'str',
4077
+ },
4078
+ description: {
4079
+ markdown: 'Description of the poll to be sent, 0-1024 characters after entities parsing',
4080
+ },
4081
+ required: false,
4082
+ },
4083
+ {
4084
+ name: 'description_parse_mode',
4085
+ type: {
4086
+ type: 'str',
4087
+ },
4088
+ description: {
4089
+ markdown: 'Mode for parsing entities in the poll description. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details.',
4090
+ },
4091
+ required: false,
4092
+ },
4093
+ {
4094
+ name: 'description_entities',
4095
+ type: {
4096
+ type: 'array',
4097
+ of: {
4098
+ type: 'api-type',
4099
+ name: 'MessageEntity',
4100
+ },
4101
+ },
4102
+ description: {
4103
+ markdown: 'An array of special entities that appear in the poll description, which can be specified instead of _description\\_parse\\_mode_',
4104
+ },
4105
+ required: false,
4106
+ },
4030
4107
  {
4031
4108
  name: 'disable_notification',
4032
4109
  type: {
@@ -4197,7 +4274,7 @@ const sendChecklist = {
4197
4274
  name: 'InlineKeyboardMarkup',
4198
4275
  },
4199
4276
  description: {
4200
- markdown: 'An object for an inline keyboard',
4277
+ markdown: 'An object for an [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards)',
4201
4278
  },
4202
4279
  required: false,
4203
4280
  },
@@ -4396,7 +4473,7 @@ const sendDice = {
4396
4473
  const sendMessageDraft = {
4397
4474
  name: 'sendMessageDraft',
4398
4475
  description: {
4399
- markdown: 'Use this method to stream a partial message to a user while the message is being generated; supported only for bots with forum topic mode enabled. Returns _True_ on success.',
4476
+ markdown: 'Use this method to stream a partial message to a user while the message is being generated. Returns _True_ on success.',
4400
4477
  },
4401
4478
  parameters: [
4402
4479
  {
@@ -5176,6 +5253,16 @@ const promoteChatMember = {
5176
5253
  },
5177
5254
  required: false,
5178
5255
  },
5256
+ {
5257
+ name: 'can_manage_tags',
5258
+ type: {
5259
+ type: 'bool',
5260
+ },
5261
+ description: {
5262
+ markdown: 'Pass _True_ if the administrator can edit the tags of regular members; for groups and supergroups only',
5263
+ },
5264
+ required: false,
5265
+ },
5179
5266
  ],
5180
5267
  returnType: {
5181
5268
  type: 'bool',
@@ -5232,6 +5319,56 @@ const setChatAdministratorCustomTitle = {
5232
5319
  literal: true,
5233
5320
  },
5234
5321
  };
5322
+ const setChatMemberTag = {
5323
+ name: 'setChatMemberTag',
5324
+ description: {
5325
+ markdown: 'Use this method to set a tag for a regular member in a group or a supergroup. The bot must be an administrator in the chat for this to work and must have the _can\\_manage\\_tags_ administrator right. Returns _True_ on success.',
5326
+ },
5327
+ parameters: [
5328
+ {
5329
+ name: 'chat_id',
5330
+ type: {
5331
+ type: 'union',
5332
+ types: [
5333
+ {
5334
+ type: 'int32',
5335
+ },
5336
+ {
5337
+ type: 'str',
5338
+ },
5339
+ ],
5340
+ },
5341
+ description: {
5342
+ markdown: 'Unique identifier for the target chat or username of the target supergroup (in the format `@supergroupusername`)',
5343
+ },
5344
+ required: true,
5345
+ },
5346
+ {
5347
+ name: 'user_id',
5348
+ type: {
5349
+ type: 'int32',
5350
+ },
5351
+ description: {
5352
+ markdown: 'Unique identifier of the target user',
5353
+ },
5354
+ required: true,
5355
+ },
5356
+ {
5357
+ name: 'tag',
5358
+ type: {
5359
+ type: 'str',
5360
+ },
5361
+ description: {
5362
+ markdown: 'New tag for the member; 0-16 characters, emoji are not allowed',
5363
+ },
5364
+ required: false,
5365
+ },
5366
+ ],
5367
+ returnType: {
5368
+ type: 'bool',
5369
+ literal: true,
5370
+ },
5371
+ };
5235
5372
  const banChatSenderChat = {
5236
5373
  name: 'banChatSenderChat',
5237
5374
  description: {
@@ -6929,6 +7066,48 @@ const getBusinessConnection = {
6929
7066
  name: 'BusinessConnection',
6930
7067
  },
6931
7068
  };
7069
+ const getManagedBotToken = {
7070
+ name: 'getManagedBotToken',
7071
+ description: {
7072
+ markdown: 'Use this method to get the token of a managed bot. Returns the token as _String_ on success.',
7073
+ },
7074
+ parameters: [
7075
+ {
7076
+ name: 'user_id',
7077
+ type: {
7078
+ type: 'int32',
7079
+ },
7080
+ description: {
7081
+ markdown: 'User identifier of the managed bot whose token will be returned',
7082
+ },
7083
+ required: true,
7084
+ },
7085
+ ],
7086
+ returnType: {
7087
+ type: 'str',
7088
+ },
7089
+ };
7090
+ const replaceManagedBotToken = {
7091
+ name: 'replaceManagedBotToken',
7092
+ description: {
7093
+ markdown: 'Use this method to revoke the current token of a managed bot and generate a new one. Returns the new token as _String_ on success.',
7094
+ },
7095
+ parameters: [
7096
+ {
7097
+ name: 'user_id',
7098
+ type: {
7099
+ type: 'int32',
7100
+ },
7101
+ description: {
7102
+ markdown: 'User identifier of the managed bot whose token will be replaced',
7103
+ },
7104
+ required: true,
7105
+ },
7106
+ ],
7107
+ returnType: {
7108
+ type: 'str',
7109
+ },
7110
+ };
6932
7111
  const setMyCommands = {
6933
7112
  name: 'setMyCommands',
6934
7113
  description: {
@@ -7446,7 +7625,7 @@ const sendGift = {
7446
7625
  ],
7447
7626
  },
7448
7627
  description: {
7449
- markdown: 'Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom\\_emoji” are ignored.',
7628
+ markdown: 'Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom\\_emoji”, and “date\\_time” are ignored.',
7450
7629
  },
7451
7630
  required: false,
7452
7631
  },
@@ -7564,7 +7743,7 @@ const giftPremiumSubscription = {
7564
7743
  ],
7565
7744
  },
7566
7745
  description: {
7567
- markdown: 'Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, and “custom\\_emoji” are ignored.',
7746
+ markdown: 'Mode for parsing entities in the text. See [formatting options](https://core.telegram.org/bots/api#formatting-options) for more details. Entities other than “bold”, “italic”, “underline”, “strikethrough”, “spoiler”, “custom\\_emoji”, and “date\\_time” are ignored.',
7568
7747
  },
7569
7748
  required: false,
7570
7749
  },
@@ -8927,6 +9106,145 @@ const deleteStory = {
8927
9106
  literal: true,
8928
9107
  },
8929
9108
  };
9109
+ const answerWebAppQuery = {
9110
+ name: 'answerWebAppQuery',
9111
+ description: {
9112
+ markdown: 'Use this method to set the result of an interaction with a [Web App](https://core.telegram.org/bots/webapps) and send a corresponding message on behalf of the user to the chat from which the query originated. On success, a [SentWebAppMessage](https://core.telegram.org/bots/api#sentwebappmessage) object is returned.',
9113
+ },
9114
+ parameters: [
9115
+ {
9116
+ name: 'web_app_query_id',
9117
+ type: {
9118
+ type: 'str',
9119
+ },
9120
+ description: {
9121
+ markdown: 'Unique identifier for the query to be answered',
9122
+ },
9123
+ required: true,
9124
+ },
9125
+ {
9126
+ name: 'result',
9127
+ type: {
9128
+ type: 'api-type',
9129
+ name: 'InlineQueryResult',
9130
+ },
9131
+ description: {
9132
+ markdown: 'An object describing the message to be sent',
9133
+ },
9134
+ required: true,
9135
+ },
9136
+ ],
9137
+ returnType: {
9138
+ type: 'api-type',
9139
+ name: 'SentWebAppMessage',
9140
+ },
9141
+ };
9142
+ const savePreparedInlineMessage = {
9143
+ name: 'savePreparedInlineMessage',
9144
+ description: {
9145
+ markdown: 'Stores a message that can be sent by a user of a Mini App. Returns a [PreparedInlineMessage](https://core.telegram.org/bots/api#preparedinlinemessage) object.',
9146
+ },
9147
+ parameters: [
9148
+ {
9149
+ name: 'user_id',
9150
+ type: {
9151
+ type: 'int32',
9152
+ },
9153
+ description: {
9154
+ markdown: 'Unique identifier of the target user that can use the prepared message',
9155
+ },
9156
+ required: true,
9157
+ },
9158
+ {
9159
+ name: 'result',
9160
+ type: {
9161
+ type: 'api-type',
9162
+ name: 'InlineQueryResult',
9163
+ },
9164
+ description: {
9165
+ markdown: 'An object describing the message to be sent',
9166
+ },
9167
+ required: true,
9168
+ },
9169
+ {
9170
+ name: 'allow_user_chats',
9171
+ type: {
9172
+ type: 'bool',
9173
+ },
9174
+ description: {
9175
+ markdown: 'Pass _True_ if the message can be sent to private chats with users',
9176
+ },
9177
+ required: false,
9178
+ },
9179
+ {
9180
+ name: 'allow_bot_chats',
9181
+ type: {
9182
+ type: 'bool',
9183
+ },
9184
+ description: {
9185
+ markdown: 'Pass _True_ if the message can be sent to private chats with bots',
9186
+ },
9187
+ required: false,
9188
+ },
9189
+ {
9190
+ name: 'allow_group_chats',
9191
+ type: {
9192
+ type: 'bool',
9193
+ },
9194
+ description: {
9195
+ markdown: 'Pass _True_ if the message can be sent to group and supergroup chats',
9196
+ },
9197
+ required: false,
9198
+ },
9199
+ {
9200
+ name: 'allow_channel_chats',
9201
+ type: {
9202
+ type: 'bool',
9203
+ },
9204
+ description: {
9205
+ markdown: 'Pass _True_ if the message can be sent to channel chats',
9206
+ },
9207
+ required: false,
9208
+ },
9209
+ ],
9210
+ returnType: {
9211
+ type: 'api-type',
9212
+ name: 'PreparedInlineMessage',
9213
+ },
9214
+ };
9215
+ const savePreparedKeyboardButton = {
9216
+ name: 'savePreparedKeyboardButton',
9217
+ description: {
9218
+ markdown: 'Stores a keyboard button that can be used by a user within a Mini App. Returns a [PreparedKeyboardButton](https://core.telegram.org/bots/api#preparedkeyboardbutton) object.',
9219
+ },
9220
+ parameters: [
9221
+ {
9222
+ name: 'user_id',
9223
+ type: {
9224
+ type: 'int32',
9225
+ },
9226
+ description: {
9227
+ markdown: 'Unique identifier of the target user that can use the button',
9228
+ },
9229
+ required: true,
9230
+ },
9231
+ {
9232
+ name: 'button',
9233
+ type: {
9234
+ type: 'api-type',
9235
+ name: 'KeyboardButton',
9236
+ },
9237
+ description: {
9238
+ markdown: 'An object describing the button to be saved. The button must be of the type _request\\_users_, _request\\_chat_, or _request\\_managed\\_bot_',
9239
+ },
9240
+ required: true,
9241
+ },
9242
+ ],
9243
+ returnType: {
9244
+ type: 'api-type',
9245
+ name: 'PreparedKeyboardButton',
9246
+ },
9247
+ };
8930
9248
  const editMessageText = {
8931
9249
  name: 'editMessageText',
8932
9250
  description: {
@@ -9569,7 +9887,7 @@ const editMessageChecklist = {
9569
9887
  name: 'InlineKeyboardMarkup',
9570
9888
  },
9571
9889
  description: {
9572
- markdown: 'An object for the new inline keyboard for the message',
9890
+ markdown: 'An object for the new [inline keyboard](https://core.telegram.org/bots/features#inline-keyboards) for the message',
9573
9891
  },
9574
9892
  required: false,
9575
9893
  },
@@ -10751,112 +11069,6 @@ const answerInlineQuery = {
10751
11069
  literal: true,
10752
11070
  },
10753
11071
  };
10754
- const answerWebAppQuery = {
10755
- name: 'answerWebAppQuery',
10756
- description: {
10757
- markdown: 'Use this method to set the result of an interaction with a [Web App](https://core.telegram.org/bots/webapps) and send a corresponding message on behalf of the user to the chat from which the query originated. On success, a [SentWebAppMessage](https://core.telegram.org/bots/api#sentwebappmessage) object is returned.',
10758
- },
10759
- parameters: [
10760
- {
10761
- name: 'web_app_query_id',
10762
- type: {
10763
- type: 'str',
10764
- },
10765
- description: {
10766
- markdown: 'Unique identifier for the query to be answered',
10767
- },
10768
- required: true,
10769
- },
10770
- {
10771
- name: 'result',
10772
- type: {
10773
- type: 'api-type',
10774
- name: 'InlineQueryResult',
10775
- },
10776
- description: {
10777
- markdown: 'An object describing the message to be sent',
10778
- },
10779
- required: true,
10780
- },
10781
- ],
10782
- returnType: {
10783
- type: 'api-type',
10784
- name: 'SentWebAppMessage',
10785
- },
10786
- };
10787
- const savePreparedInlineMessage = {
10788
- name: 'savePreparedInlineMessage',
10789
- description: {
10790
- markdown: 'Stores a message that can be sent by a user of a Mini App. Returns a [PreparedInlineMessage](https://core.telegram.org/bots/api#preparedinlinemessage) object.',
10791
- },
10792
- parameters: [
10793
- {
10794
- name: 'user_id',
10795
- type: {
10796
- type: 'int32',
10797
- },
10798
- description: {
10799
- markdown: 'Unique identifier of the target user that can use the prepared message',
10800
- },
10801
- required: true,
10802
- },
10803
- {
10804
- name: 'result',
10805
- type: {
10806
- type: 'api-type',
10807
- name: 'InlineQueryResult',
10808
- },
10809
- description: {
10810
- markdown: 'An object describing the message to be sent',
10811
- },
10812
- required: true,
10813
- },
10814
- {
10815
- name: 'allow_user_chats',
10816
- type: {
10817
- type: 'bool',
10818
- },
10819
- description: {
10820
- markdown: 'Pass _True_ if the message can be sent to private chats with users',
10821
- },
10822
- required: false,
10823
- },
10824
- {
10825
- name: 'allow_bot_chats',
10826
- type: {
10827
- type: 'bool',
10828
- },
10829
- description: {
10830
- markdown: 'Pass _True_ if the message can be sent to private chats with bots',
10831
- },
10832
- required: false,
10833
- },
10834
- {
10835
- name: 'allow_group_chats',
10836
- type: {
10837
- type: 'bool',
10838
- },
10839
- description: {
10840
- markdown: 'Pass _True_ if the message can be sent to group and supergroup chats',
10841
- },
10842
- required: false,
10843
- },
10844
- {
10845
- name: 'allow_channel_chats',
10846
- type: {
10847
- type: 'bool',
10848
- },
10849
- description: {
10850
- markdown: 'Pass _True_ if the message can be sent to channel chats',
10851
- },
10852
- required: false,
10853
- },
10854
- ],
10855
- returnType: {
10856
- type: 'api-type',
10857
- name: 'PreparedInlineMessage',
10858
- },
10859
- };
10860
11072
  const sendInvoice = {
10861
11073
  name: 'sendInvoice',
10862
11074
  description: {
@@ -11993,6 +12205,7 @@ export const methods = {
11993
12205
  restrictChatMember,
11994
12206
  promoteChatMember,
11995
12207
  setChatAdministratorCustomTitle,
12208
+ setChatMemberTag,
11996
12209
  banChatSenderChat,
11997
12210
  unbanChatSenderChat,
11998
12211
  setChatPermissions,
@@ -12034,6 +12247,8 @@ export const methods = {
12034
12247
  answerCallbackQuery,
12035
12248
  getUserChatBoosts,
12036
12249
  getBusinessConnection,
12250
+ getManagedBotToken,
12251
+ replaceManagedBotToken,
12037
12252
  setMyCommands,
12038
12253
  deleteMyCommands,
12039
12254
  getMyCommands,
@@ -12076,6 +12291,9 @@ export const methods = {
12076
12291
  repostStory,
12077
12292
  editStory,
12078
12293
  deleteStory,
12294
+ answerWebAppQuery,
12295
+ savePreparedInlineMessage,
12296
+ savePreparedKeyboardButton,
12079
12297
  editMessageText,
12080
12298
  editMessageCaption,
12081
12299
  editMessageMedia,
@@ -12105,8 +12323,6 @@ export const methods = {
12105
12323
  setCustomEmojiStickerSetThumbnail,
12106
12324
  deleteStickerSet,
12107
12325
  answerInlineQuery,
12108
- answerWebAppQuery,
12109
- savePreparedInlineMessage,
12110
12326
  sendInvoice,
12111
12327
  createInvoiceLink,
12112
12328
  answerShippingQuery,