Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.
| Name | Type | Description | Required |
|---|---|---|---|
| for_channels | bool | null | array | Pass True to get default administrator rights of the bot in channels. Otherwise, default administrator rights of the bot for groups and supergroups will be returned. | no |
| token | string | null | You can use this method on another bot with specify this parameter | no |
| forgot | bool | null | You can set to not receive request result, dont set it or pass null for turn it off | no |
| answer | bool | null | You can set to answer to webhook, dont set it or pass null for turn it off | no |
Output : BPT\types\chatAdministratorRights | BPT\types\responseError | bool
Static or normal : Static
request::getMyDefaultAdministratorRights(for_channels: bool | null, token: String | null, forgot: Boolean | null, answer: Boolean | null);request::getMyDefaultAdministratorRights(['for_channels' => bool | null, 'token' => String | null, 'forgot' => Boolean | null, 'answer' => Boolean | null]);request::getMyDefaultAdministratorRights();