get My Default Administrator Rights
inline fun getMyDefaultAdministratorRights(forChannel: Boolean? = null): GetMyDefaultAdministratorRightsAction
Use this method to get the current default administrator rights of the bot. Returns ChatAdministratorRights on success.
Parameters
for Channels
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.