This commit is contained in:
Daniil Gentili 2024-06-16 17:44:06 +02:00
parent 202b075a02
commit 64ecad00e1
65 changed files with 359 additions and 61 deletions

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_createBusinessChatLink.html
### Return type: [BusinessChatLink](/API_docs/types/BusinessChatLink.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_deleteBusinessChatLink.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_disablePeerConnectedBot.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/account_editBusinessChatLink.html
### Return type: [BusinessChatLink](/API_docs/types/BusinessChatLink.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/account_getBusinessChatLinks.html
### Return type: [account.BusinessChatLinks](/API_docs/types/account.BusinessChatLinks.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/account_getConnectedBots.html
### Return type: [account.ConnectedBots](/API_docs/types/account.ConnectedBots.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/account_getReactionsNotifySettings.html
### Return type: [ReactionsNotifySettings](/API_docs/types/ReactionsNotifySettings.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_resolveBusinessChatLink.html
### Return type: [account.ResolvedBusinessChatLinks](/API_docs/types/account.ResolvedBusinessChatLinks.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_setReactionsNotifySettings.html
### Return type: [ReactionsNotifySettings](/API_docs/types/ReactionsNotifySettings.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/account_toggleConnectedBotPaused.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_toggleSponsoredMessages.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_updateBirthday.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_updateBusinessAwayMessage.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_updateBusinessGreetingMessage.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_updateBusinessIntro.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/account_updateBusinessLocation.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_updateBusinessWorkHours.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -23,7 +23,7 @@ redirect_from: /API_docs/methods/account_updateConnectedBot.html
### Return type: [Updates](/API_docs/types/Updates.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/account_updatePersonalChannel.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -22,7 +22,7 @@ redirect_from: /API_docs/methods/auth_reportMissingCode.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -24,7 +24,7 @@ Activate or deactivate a purchased [fragment.com](https://fragment.com) username
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/channels_reportSponsoredMessage.html
### Return type: [channels.SponsoredMessageReportResult](/API_docs/types/channels.SponsoredMessageReportResult.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/channels_restrictSponsoredMessages.html
### Return type: [Updates](/API_docs/types/Updates.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -24,7 +24,7 @@ redirect_from: /API_docs/methods/channels_searchPosts.html
### Return type: [messages.Messages](/API_docs/types/messages.Messages.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/channels_setBoostsToUnblockRestrictions.html
### Return type: [Updates](/API_docs/types/Updates.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/channels_setEmojiStickers.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -24,7 +24,7 @@ Activate or deactivate a purchased [fragment.com](https://fragment.com) username
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -22,7 +22,7 @@ Obtain information about a [chat folder deep link »](https://core.telegram.org/
### Return type: [chatlists.ChatlistInvite](/API_docs/types/chatlists.ChatlistInvite.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -17,7 +17,7 @@ Generates a [temporary profile link](https://core.telegram.org/api/links#tempora
### Return type: [ExportedContactToken](/API_docs/types/ExportedContactToken.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/contacts_getBirthdays.html
### Return type: [contacts.ContactBirthdays](/API_docs/types/contacts.ContactBirthdays.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/fragment_getCollectibleInfo.html
### Return type: [fragment.CollectibleInfo](/API_docs/types/fragment.CollectibleInfo.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/help_getTimezonesList.html
### Return type: [help.TimezonesList](/API_docs/types/help.TimezonesList.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/messages_checkQuickReplyShortcut.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/messages_deleteFactCheck.html
### Return type: [Updates](/API_docs/types/Updates.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/messages_deleteQuickReplyMessages.html
### Return type: [Updates](/API_docs/types/Updates.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/messages_deleteQuickReplyShortcut.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -22,7 +22,7 @@ redirect_from: /API_docs/methods/messages_editFactCheck.html
### Return type: [Updates](/API_docs/types/Updates.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/messages_editQuickReplyShortcut.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/messages_getAvailableEffects.html
### Return type: [messages.AvailableEffects](/API_docs/types/messages.AvailableEffects.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/messages_getEmojiStickerGroups.html
### Return type: [messages.EmojiGroups](/API_docs/types/messages.EmojiGroups.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/messages_getFactCheck.html
### Return type: [Vector\_of\_FactCheck](/API_docs/types/FactCheck.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/messages_getMyStickers.html
### Return type: [messages.MyStickers](/API_docs/types/messages.MyStickers.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/messages_getQuickReplies.html
### Return type: [messages.QuickReplies](/API_docs/types/messages.QuickReplies.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -22,7 +22,7 @@ redirect_from: /API_docs/methods/messages_getQuickReplyMessages.html
### Return type: [messages.Messages](/API_docs/types/messages.Messages.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/messages_reorderQuickReplies.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -22,7 +22,7 @@ redirect_from: /API_docs/methods/messages_sendQuickReplyMessages.html
### Return type: [Updates](/API_docs/types/Updates.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/messages_toggleDialogFilterTags.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/payments_getStarsStatus.html
### Return type: [payments.StarsStatus](/API_docs/types/payments.StarsStatus.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/payments_getStarsTopupOptions.html
### Return type: [Vector\_of\_StarsTopupOption](/API_docs/types/StarsTopupOption.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/payments_sendStarsForm.html
### Return type: [payments.PaymentResult](/API_docs/types/payments.PaymentResult.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/smsjobs_finishJob.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/smsjobs_getSmsJob.html
### Return type: [SmsJob](/API_docs/types/SmsJob.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/smsjobs_getStatus.html
### Return type: [smsjobs.Status](/API_docs/types/smsjobs.Status.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/smsjobs_isEligibleToJoin.html
### Return type: [smsjobs.EligibilityToJoin](/API_docs/types/smsjobs.EligibilityToJoin.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/smsjobs_join.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -15,7 +15,7 @@ redirect_from: /API_docs/methods/smsjobs_leave.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -20,7 +20,7 @@ redirect_from: /API_docs/methods/smsjobs_updateSettings.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/stats_getBroadcastRevenueStats.html
### Return type: [stats.BroadcastRevenueStats](/API_docs/types/stats.BroadcastRevenueStats.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -22,7 +22,7 @@ redirect_from: /API_docs/methods/stats_getBroadcastRevenueTransactions.html
### Return type: [stats.BroadcastRevenueTransactions](/API_docs/types/stats.BroadcastRevenueTransactions.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/stats_getBroadcastRevenueWithdrawalUrl.html
### Return type: [stats.BroadcastRevenueWithdrawalUrl](/API_docs/types/stats.BroadcastRevenueWithdrawalUrl.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -21,7 +21,7 @@ redirect_from: /API_docs/methods/stories_togglePinnedToTop.html
### Return type: [Bool](/API_docs/types/Bool.html)
### Can bots use this method: **YES**
### Can bots use this method: **NO**
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):

View File

@ -0,0 +1,97 @@
---
title: "danog\\MadelineProto\\RPCError\\ChatForbiddenError: Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise."
description: "\nAlways check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.\n"
image: "https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png"
parent: "MadelineProto API"
---
# `danog\MadelineProto\RPCError\ChatForbiddenError`
[Back to index](../../../index.html)
> Author: Daniil Gentili <daniil@daniil.it>
Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.
Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.
## Properties
* `$rpc`: `string` RPC error.
* `$description`: `string` Human-readable description of RPC error.
* `$tlTrace`: `string` TL trace.
## Method list:
* [`getLocalization(): string`](#getLocalization)
* [`getMessage(): string`](#getMessage)
* [`getCode()`](#getCode)
* [`getFile(): string`](#getFile)
* [`getLine(): int`](#getLine)
* [`getTrace(): array`](#getTrace)
* [`getPrevious(): ?Throwable`](#getPrevious)
* [`getTraceAsString(): string`](#getTraceAsString)
* [`getTLTrace(): string`](#getTLTrace)
## Methods:
### <a name="getLocalization"></a> `getLocalization(): string`
Get localized error name.
### <a name="getMessage"></a> `getMessage(): string`
### <a name="getCode"></a> `getCode()`
### <a name="getFile"></a> `getFile(): string`
### <a name="getLine"></a> `getLine(): int`
### <a name="getTrace"></a> `getTrace(): array`
### <a name="getPrevious"></a> `getPrevious(): ?Throwable`
#### See also:
* `Throwable`
### <a name="getTraceAsString"></a> `getTraceAsString(): string`
### <a name="getTLTrace"></a> `getTLTrace(): string`
Get TL trace.
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)

View File

@ -0,0 +1,99 @@
---
title: "danog\\MadelineProto\\RPCError\\ChatSendRoundvideosForbiddenError: You can't send round videos to this chat."
description: "\nNote: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.\n\nAlways check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.\n"
image: "https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png"
parent: "MadelineProto API"
---
# `danog\MadelineProto\RPCError\ChatSendRoundvideosForbiddenError`
[Back to index](../../../index.html)
> Author: Daniil Gentili <daniil@daniil.it>
You can't send round videos to this chat.
Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.
Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.
## Properties
* `$rpc`: `string` RPC error.
* `$description`: `string` Human-readable description of RPC error.
* `$tlTrace`: `string` TL trace.
## Method list:
* [`getLocalization(): string`](#getLocalization)
* [`getMessage(): string`](#getMessage)
* [`getCode()`](#getCode)
* [`getFile(): string`](#getFile)
* [`getLine(): int`](#getLine)
* [`getTrace(): array`](#getTrace)
* [`getPrevious(): ?Throwable`](#getPrevious)
* [`getTraceAsString(): string`](#getTraceAsString)
* [`getTLTrace(): string`](#getTLTrace)
## Methods:
### <a name="getLocalization"></a> `getLocalization(): string`
Get localized error name.
### <a name="getMessage"></a> `getMessage(): string`
### <a name="getCode"></a> `getCode()`
### <a name="getFile"></a> `getFile(): string`
### <a name="getLine"></a> `getLine(): int`
### <a name="getTrace"></a> `getTrace(): array`
### <a name="getPrevious"></a> `getPrevious(): ?Throwable`
#### See also:
* `Throwable`
### <a name="getTraceAsString"></a> `getTraceAsString(): string`
### <a name="getTLTrace"></a> `getTLTrace(): string`
Get TL trace.
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)

View File

@ -0,0 +1,99 @@
---
title: "danog\\MadelineProto\\RPCError\\SessionPasswordNeededError: 2FA is enabled, use a password to login."
description: "\nNote: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.\n\nAlways check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.\n"
image: "https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png"
parent: "MadelineProto API"
---
# `danog\MadelineProto\RPCError\SessionPasswordNeededError`
[Back to index](../../../index.html)
> Author: Daniil Gentili <daniil@daniil.it>
2FA is enabled, use a password to login.
Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.
Always check the changelog when upgrading, and use tools like Psalm to easily upgrade your code.
## Properties
* `$rpc`: `string` RPC error.
* `$description`: `string` Human-readable description of RPC error.
* `$tlTrace`: `string` TL trace.
## Method list:
* [`getLocalization(): string`](#getLocalization)
* [`getMessage(): string`](#getMessage)
* [`getCode()`](#getCode)
* [`getFile(): string`](#getFile)
* [`getLine(): int`](#getLine)
* [`getTrace(): array`](#getTrace)
* [`getPrevious(): ?Throwable`](#getPrevious)
* [`getTraceAsString(): string`](#getTraceAsString)
* [`getTLTrace(): string`](#getTLTrace)
## Methods:
### <a name="getLocalization"></a> `getLocalization(): string`
Get localized error name.
### <a name="getMessage"></a> `getMessage(): string`
### <a name="getCode"></a> `getCode()`
### <a name="getFile"></a> `getFile(): string`
### <a name="getLine"></a> `getLine(): int`
### <a name="getTrace"></a> `getTrace(): array`
### <a name="getPrevious"></a> `getPrevious(): ?Throwable`
#### See also:
* `Throwable`
### <a name="getTraceAsString"></a> `getTraceAsString(): string`
### <a name="getTLTrace"></a> `getTLTrace(): string`
Get TL trace.
---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)

View File

@ -344,6 +344,7 @@ Async PHP client API for the telegram MTProto protocol.
* [\danog\MadelineProto\RPCError\CallAlreadyDeclinedError: The call was already declined.](/PHP/danog/MadelineProto/RPCError/CallAlreadyDeclinedError.html)
* [\danog\MadelineProto\RPCError\ChannelPrivateError: You haven't joined this channel/supergroup.](/PHP/danog/MadelineProto/RPCError/ChannelPrivateError.html)
* [\danog\MadelineProto\RPCError\ChatAdminRequiredError: You must be an admin in this chat to do this.](/PHP/danog/MadelineProto/RPCError/ChatAdminRequiredError.html)
* [\danog\MadelineProto\RPCError\ChatForbiddenError: Note: this exception is part of the raw API, and thus is not covered by the backwards-compatibility promise.](/PHP/danog/MadelineProto/RPCError/ChatForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatForwardsRestrictedError: You can't forward messages from a protected chat.](/PHP/danog/MadelineProto/RPCError/ChatForwardsRestrictedError.html)
* [\danog\MadelineProto\RPCError\ChatGuestSendForbiddenError: You join the discussion group before commenting, see [here &raquo;](/api/discussion#requiring-users-to-join-the-group) for more info.](/PHP/danog/MadelineProto/RPCError/ChatGuestSendForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatRestrictedError: You can't send messages in this chat, you were restricted.](/PHP/danog/MadelineProto/RPCError/ChatRestrictedError.html)
@ -354,6 +355,7 @@ Async PHP client API for the telegram MTProto protocol.
* [\danog\MadelineProto\RPCError\ChatSendPhotosForbiddenError: You can't send photos in this chat.](/PHP/danog/MadelineProto/RPCError/ChatSendPhotosForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatSendPlainForbiddenError: You can't send non-media (text) messages in this chat.](/PHP/danog/MadelineProto/RPCError/ChatSendPlainForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatSendPollForbiddenError: You can't send polls in this chat.](/PHP/danog/MadelineProto/RPCError/ChatSendPollForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatSendRoundvideosForbiddenError: You can't send round videos to this chat.](/PHP/danog/MadelineProto/RPCError/ChatSendRoundvideosForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatSendStickersForbiddenError: You can't send stickers in this chat.](/PHP/danog/MadelineProto/RPCError/ChatSendStickersForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatSendVideosForbiddenError: You can't send videos in this chat.](/PHP/danog/MadelineProto/RPCError/ChatSendVideosForbiddenError.html)
* [\danog\MadelineProto\RPCError\ChatSendVoicesForbiddenError: You can't send voice recordings in this chat.](/PHP/danog/MadelineProto/RPCError/ChatSendVoicesForbiddenError.html)
@ -383,6 +385,7 @@ Async PHP client API for the telegram MTProto protocol.
* [\danog\MadelineProto\RPCError\ScheduleDateTooLateError: You can't schedule a message this far in the future.](/PHP/danog/MadelineProto/RPCError/ScheduleDateTooLateError.html)
* [\danog\MadelineProto\RPCError\ScheduleStatusPrivateError: Can't schedule until user is online, if the user's last seen timestamp is hidden by their privacy settings.](/PHP/danog/MadelineProto/RPCError/ScheduleStatusPrivateError.html)
* [\danog\MadelineProto\RPCError\ScheduleTooMuchError: There are too many scheduled messages.](/PHP/danog/MadelineProto/RPCError/ScheduleTooMuchError.html)
* [\danog\MadelineProto\RPCError\SessionPasswordNeededError: 2FA is enabled, use a password to login.](/PHP/danog/MadelineProto/RPCError/SessionPasswordNeededError.html)
* [\danog\MadelineProto\RPCError\TopicClosedError: This topic was closed, you can't send messages to it anymore.](/PHP/danog/MadelineProto/RPCError/TopicClosedError.html)
* [\danog\MadelineProto\RPCError\TopicDeletedError: The specified topic was deleted.](/PHP/danog/MadelineProto/RPCError/TopicDeletedError.html)
* [\danog\MadelineProto\RPCError\UserBannedInChannelError: You're banned from sending messages in supergroups/channels.](/PHP/danog/MadelineProto/RPCError/UserBannedInChannelError.html)