Package dev. inmo. tgbotapi. extensions. api. chat. get
Functions
getChat
Link copied to clipboard
suspend fun TelegramBot.getChat(chat: CommonUser): ExtendedPrivateChatImpl
Content copied to clipboard
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedUser with unsafe operator "as"
suspend fun TelegramBot.getChat(chat: ChannelChatImpl): ExtendedChannelChatImpl
Content copied to clipboard
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedChannelChatImpl with unsafe operator "as"
suspend fun TelegramBot.getChat(chat: GroupChatImpl): ExtendedGroupChatImpl
Content copied to clipboard
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedGroupChatImpl with unsafe operator "as"
suspend fun TelegramBot.getChat(chat: PrivateChatImpl): ExtendedPrivateChatImpl
Content copied to clipboard
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedPrivateChatImpl with unsafe operator "as"
suspend fun TelegramBot.getChat(chat: SupergroupChatImpl): ExtendedSupergroupChatImpl
Content copied to clipboard
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedSupergroupChatImpl with unsafe operator "as"
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedChannelChat with unsafe operator "as"
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedGroupChat with unsafe operator "as"
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedPrivateChat with unsafe operator "as"
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedPublicChat with unsafe operator "as"
suspend fun TelegramBot.getChat(chat: SupergroupChat): ExtendedSupergroupChat
Content copied to clipboard
Will cast incoming dev.inmo.tgbotapi.types.chat.abstracts.extended.ExtendedChat to a ExtendedSupergroupChat with unsafe operator "as"
getChatAdministrators
Link copied to clipboard
suspend fun TelegramBot.getChatAdministrators(chatId: ChatIdentifier): List<AdministratorChatMember>
Content copied to clipboard
suspend fun TelegramBot.getChatAdministrators(chat: PublicChat): List<AdministratorChatMember>
Content copied to clipboard
getChatMembersCount
Link copied to clipboard