Package-level declarations

Functions

Link copied to clipboard
suspend fun TelegramBot.getChat(chat: Chat): ExtendedChat

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedChannelChat with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedChannelChatImpl with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedUser with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedGroupChat with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedGroupChatImpl with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedPrivateChat with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedPrivateChatImpl with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedPrivateForumChatImpl with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedPublicChat with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedSupergroupChat with unsafe operator "as"

Will cast incoming dev.inmo.tgbotapi.types.chat.ExtendedChat to a ExtendedSupergroupChatImpl with unsafe operator "as"

Link copied to clipboard
suspend fun TelegramBot.getChatAdministrators(chatId: ChatIdentifier, retrieveOtherBots: Boolean? = null): List<AdministratorChatMember>
suspend fun TelegramBot.getChatAdministrators(chat: PublicChat, retrieveOtherBots: Boolean? = null): List<AdministratorChatMember>
Link copied to clipboard