Package dev.inmo.tgbotapi.extensions.api.bot

Functions

Link copied to clipboard
suspend fun TelegramBot.clearMyDefaultAdministratorRights(forChannels: Boolean? = null): Boolean
suspend fun TelegramBot.clearMyDefaultAdministratorRightsForChannels(): Boolean
Link copied to clipboard
suspend fun TelegramBot.deleteMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode?): Boolean
suspend fun TelegramBot.deleteMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: String? = null): Boolean
Link copied to clipboard
suspend fun TelegramBot.getMe(): ExtendedBot
Link copied to clipboard
suspend fun TelegramBot.getMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: IetfLanguageCode? = null): List<BotCommand>
suspend fun TelegramBot.getMyCommands(scope: BotCommandScope = BotCommandScopeDefault, languageCode: String?): List<BotCommand>
Link copied to clipboard
suspend fun TelegramBot.getMyDefaultAdministratorRights(forChannels: Boolean? = null): AdministratorChatMemberImpl
Link copied to clipboard
suspend fun TelegramBot.setMyCommands(    vararg commands: BotCommand,     scope: BotCommandScope = BotCommandScopeDefault,     languageCode: IetfLanguageCode?): Boolean
suspend fun TelegramBot.setMyCommands(    vararg commands: BotCommand,     scope: BotCommandScope = BotCommandScopeDefault,     languageCode: String? = null): Boolean
suspend fun TelegramBot.setMyCommands(    commands: List<BotCommand>,     scope: BotCommandScope = BotCommandScopeDefault,     languageCode: IetfLanguageCode?): Boolean
suspend fun TelegramBot.setMyCommands(    commands: List<BotCommand>,     scope: BotCommandScope = BotCommandScopeDefault,     languageCode: String? = null): Boolean
Link copied to clipboard
suspend fun TelegramBot.setMyDefaultAdministratorRights(rights: ChatAdministratorRightsImpl, forChannels: Boolean? = null): Boolean