getChat

suspend fun TelegramBot.getChat(chatId: ChatIdentifier): ExtendedChat
suspend fun TelegramBot.getChat(chat: Chat): ExtendedChat


suspend fun TelegramBot.getChat(chat: PublicChat): ExtendedPublicChat

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

Throws


suspend fun TelegramBot.getChat(chat: ChannelChat): ExtendedChannelChat

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

Throws


suspend fun TelegramBot.getChat(chat: ChannelChatImpl): ExtendedChannelChatImpl

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

Throws


suspend fun TelegramBot.getChat(chat: GroupChat): ExtendedGroupChat

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

Throws


suspend fun TelegramBot.getChat(chat: GroupChatImpl): ExtendedGroupChatImpl

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

Throws


suspend fun TelegramBot.getChat(chat: SupergroupChat): ExtendedSupergroupChat

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

Throws


suspend fun TelegramBot.getChat(chat: SupergroupChatImpl): ExtendedSupergroupChatImpl

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

Throws


suspend fun TelegramBot.getChat(chat: PrivateChat): ExtendedPrivateChat

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

Throws


suspend fun TelegramBot.getChat(chat: PrivateChatImpl): ExtendedPrivateChatImpl

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

Throws


suspend fun TelegramBot.getChat(chat: CommonUser): ExtendedPrivateChatImpl

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

Throws