Interface SetDefaultChannelAdministratorRights

Sets default administrator rights for adding the bot to channel chats; for bots only. Request type for Tdjson#setDefaultChannelAdministratorRights.

interface SetDefaultChannelAdministratorRights {
    @type: "setDefaultChannelAdministratorRights";
    default_channel_administrator_rights: ChatAdministratorRights;
}

Properties

@type: "setDefaultChannelAdministratorRights"
default_channel_administrator_rights: ChatAdministratorRights

Default administrator rights for adding the bot to channels; pass null to remove default rights.