aykutalparslan
aykutalparslan
Delete messages in a [channel/supergroup](https://core.telegram.org/api/channel) > [messages.affectedMessages](https://core.telegram.org/constructor/messages.affectedMessages)#84d19185 pts:[int](https://core.telegram.org/type/int) pts_count:[int](https://core.telegram.org/type/int) = [messages.AffectedMessages](https://core.telegram.org/type/messages.AffectedMessages); > ---functions--- > [channels.deleteMessages](https://core.telegram.org/method/channels.deleteMessages)#84c1fd4e channel:[InputChannel](https://core.telegram.org/type/InputChannel) id:[Vector](https://core.telegram.org/type/Vector%20t) = [messages.AffectedMessages](https://core.telegram.org/type/messages.AffectedMessages)[](https://core.telegram.org/method/channels.deleteMessages#parameters);
Mark [channel/supergroup](https://core.telegram.org/api/channel) history as read > [boolFalse](https://core.telegram.org/constructor/boolFalse)#bc799737 = [Bool](https://core.telegram.org/type/Bool); > [boolTrue](https://core.telegram.org/constructor/boolTrue)#997275b5 = [Bool](https://core.telegram.org/type/Bool); > ---functions--- > [channels.readHistory](https://core.telegram.org/method/channels.readHistory)#cc104937 channel:[InputChannel](https://core.telegram.org/type/InputChannel) max_id:[int](https://core.telegram.org/type/int) = [Bool](https://core.telegram.org/type/Bool)[](https://core.telegram.org/method/channels.readHistory#parameters);
Obtain a list of bot commands for the specified bot scope and language code > ---functions--- > [bots.getBotCommands](https://core.telegram.org/method/bots.getBotCommands)#e34c0dd6 scope:[BotCommandScope](https://core.telegram.org/type/BotCommandScope) lang_code:[string](https://core.telegram.org/type/string) = [Vector](https://core.telegram.org/type/Vector%20t);
Clear bot commands for the specified bot scope and language code > [boolFalse](https://core.telegram.org/constructor/boolFalse)#bc799737 = [Bool](https://core.telegram.org/type/Bool); > [boolTrue](https://core.telegram.org/constructor/boolTrue)#997275b5 = [Bool](https://core.telegram.org/type/Bool); > ---functions--- > [bots.resetBotCommands](https://core.telegram.org/method/bots.resetBotCommands)#3d8de0f9 scope:[BotCommandScope](https://core.telegram.org/type/BotCommandScope) lang_code:[string](https://core.telegram.org/type/string) = [Bool](https://core.telegram.org/type/Bool)[](https://core.telegram.org/method/bots.resetBotCommands#parameters);
Set bot command list > [boolFalse](https://core.telegram.org/constructor/boolFalse)#bc799737 = [Bool](https://core.telegram.org/type/Bool); > [boolTrue](https://core.telegram.org/constructor/boolTrue)#997275b5 = [Bool](https://core.telegram.org/type/Bool); > ---functions--- > [bots.setBotCommands](https://core.telegram.org/method/bots.setBotCommands)#517165a scope:[BotCommandScope](https://core.telegram.org/type/BotCommandScope) lang_code:[string](https://core.telegram.org/type/string) commands:[Vector](https://core.telegram.org/type/Vector%20t) = [Bool](https://core.telegram.org/type/Bool);
Answers a custom query; for bots only > [boolFalse](https://core.telegram.org/constructor/boolFalse)#bc799737 = [Bool](https://core.telegram.org/type/Bool); > [boolTrue](https://core.telegram.org/constructor/boolTrue)#997275b5 = [Bool](https://core.telegram.org/type/Bool); > ---functions--- > [bots.answerWebhookJSONQuery](https://core.telegram.org/method/bots.answerWebhookJSONQuery)#e6213f4d query_id:[long](https://core.telegram.org/type/long) data:[DataJSON](https://core.telegram.org/type/DataJSON) = [Bool](https://core.telegram.org/type/Bool)[](https://core.telegram.org/method/bots.answerWebhookJSONQuery#parameters);
Sends a custom request; for bots only > [dataJSON](https://core.telegram.org/constructor/dataJSON)#7d748d04 data:[string](https://core.telegram.org/type/string) = [DataJSON](https://core.telegram.org/type/DataJSON); > ---functions--- > [bots.sendCustomRequest](https://core.telegram.org/method/bots.sendCustomRequest)#aa2769ed custom_method:[string](https://core.telegram.org/type/string) params:[DataJSON](https://core.telegram.org/type/DataJSON) = [DataJSON](https://core.telegram.org/type/DataJSON)[](https://core.telegram.org/method/bots.sendCustomRequest#parameters);
Get info about a credit card > [payments.bankCardData](https://core.telegram.org/constructor/payments.bankCardData)#3e24e573 title:[string](https://core.telegram.org/type/string) open_urls:[Vector](https://core.telegram.org/type/Vector%20t) = [payments.BankCardData](https://core.telegram.org/type/payments.BankCardData); > ---functions--- > [payments.getBankCardData](https://core.telegram.org/method/payments.getBankCardData)#2e79d779 number:[string](https://core.telegram.org/type/string) = [payments.BankCardData](https://core.telegram.org/type/payments.BankCardData);
Clear saved payment information > [boolFalse](https://core.telegram.org/constructor/boolFalse)#bc799737 = [Bool](https://core.telegram.org/type/Bool); > [boolTrue](https://core.telegram.org/constructor/boolTrue)#997275b5 = [Bool](https://core.telegram.org/type/Bool); > ---functions--- > [payments.clearSavedInfo](https://core.telegram.org/method/payments.clearSavedInfo)[#](https://core.telegram.org/type/%23)d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = [Bool](https://core.telegram.org/type/Bool);
Get saved payment information > [payments.savedInfo](https://core.telegram.org/constructor/payments.savedInfo)[#](https://core.telegram.org/type/%23)fb8fe43c flags:# has_saved_credentials:flags.1?true saved_info:flags.0?[PaymentRequestedInfo](https://core.telegram.org/type/PaymentRequestedInfo) = [payments.SavedInfo](https://core.telegram.org/type/payments.SavedInfo); > ---functions--- > [payments.getSavedInfo](https://core.telegram.org/method/payments.getSavedInfo)#227d824b = [payments.SavedInfo](https://core.telegram.org/type/payments.SavedInfo);