docs

# Chat

interface Chat
Content copied to clipboard

## Properties

id
Link copied to clipboard
abstract val id : ChatId
Content copied to clipboard

## Inheritors

PrivateChat
Link copied to clipboard
PublicChat
Link copied to clipboard
UsernameChat
Link copied to clipboard
ExtendedChat
Link copied to clipboard
UnknownChatType
Link copied to clipboard

## Extensions

asBot
Link copied to clipboard
inline fun Chat . asBot (): Bot ?
Content copied to clipboard
asChannelChat
Link copied to clipboard
inline fun Chat . asChannelChat (): ChannelChat ?
Content copied to clipboard
asCommonBot
Link copied to clipboard
inline fun Chat . asCommonBot (): CommonBot ?
Content copied to clipboard
asCommonUser
Link copied to clipboard
inline fun Chat . asCommonUser (): CommonUser ?
Content copied to clipboard
asExtendedBot
Link copied to clipboard
inline fun Chat . asExtendedBot (): ExtendedBot ?
Content copied to clipboard
asExtendedChannelChat
Link copied to clipboard
inline fun Chat . asExtendedChannelChat (): ExtendedChannelChat ?
Content copied to clipboard
asExtendedChat
Link copied to clipboard
inline fun Chat . asExtendedChat (): ExtendedChat ?
Content copied to clipboard
asExtendedGroupChat
Link copied to clipboard
inline fun Chat . asExtendedGroupChat (): ExtendedGroupChat ?
Content copied to clipboard
asExtendedPrivateChat
Link copied to clipboard
inline fun Chat . asExtendedPrivateChat (): ExtendedPrivateChat ?
Content copied to clipboard
asExtendedPublicChat
Link copied to clipboard
inline fun Chat . asExtendedPublicChat (): ExtendedPublicChat ?
Content copied to clipboard
asExtendedSupergroupChat
Link copied to clipboard
inline fun Chat . asExtendedSupergroupChat (): ExtendedSupergroupChat ?
Content copied to clipboard
asGroupChat
Link copied to clipboard
inline fun Chat . asGroupChat (): GroupChat ?
Content copied to clipboard
asPrivateChat
Link copied to clipboard
inline fun Chat . asPrivateChat (): PrivateChat ?
Content copied to clipboard
asPublicChat
Link copied to clipboard
inline fun Chat . asPublicChat (): PublicChat ?
Content copied to clipboard
asSupergroupChat
Link copied to clipboard
inline fun Chat . asSupergroupChat (): SupergroupChat ?
Content copied to clipboard
asSuperPublicChat
Link copied to clipboard
inline fun Chat . asSuperPublicChat (): SuperPublicChat ?
Content copied to clipboard
asUnknownChatType
Link copied to clipboard
inline fun Chat . asUnknownChatType (): UnknownChatType ?
Content copied to clipboard
asUser
Link copied to clipboard
inline fun Chat . asUser (): User ?
Content copied to clipboard
asUsernameChat
Link copied to clipboard
inline fun Chat . asUsernameChat (): UsernameChat ?
Content copied to clipboard
link
Link copied to clipboard
val Chat . link : String ?
Content copied to clipboard

Link which can be used as by any user to get access to Chat. Returns null in case when there are no known way to build link

requireBot
Link copied to clipboard
inline fun Chat . requireBot (): Bot
Content copied to clipboard
requireChannelChat
Link copied to clipboard
inline fun Chat . requireChannelChat (): ChannelChat
Content copied to clipboard
requireCommonBot
Link copied to clipboard
inline fun Chat . requireCommonBot (): CommonBot
Content copied to clipboard
requireCommonUser
Link copied to clipboard
inline fun Chat . requireCommonUser (): CommonUser
Content copied to clipboard
requireExtendedBot
Link copied to clipboard
inline fun Chat . requireExtendedBot (): ExtendedBot
Content copied to clipboard
requireExtendedChannelChat
Link copied to clipboard
inline fun Chat . requireExtendedChannelChat (): ExtendedChannelChat
Content copied to clipboard
requireExtendedChat
Link copied to clipboard
inline fun Chat . requireExtendedChat (): ExtendedChat
Content copied to clipboard
requireExtendedGroupChat
Link copied to clipboard
inline fun Chat . requireExtendedGroupChat (): ExtendedGroupChat
Content copied to clipboard
requireExtendedPrivateChat
Link copied to clipboard
inline fun Chat . requireExtendedPrivateChat (): ExtendedPrivateChat
Content copied to clipboard
requireExtendedPublicChat
Link copied to clipboard
inline fun Chat . requireExtendedPublicChat (): ExtendedPublicChat
Content copied to clipboard
requireExtendedSupergroupChat
Link copied to clipboard
inline fun Chat . requireExtendedSupergroupChat (): ExtendedSupergroupChat
Content copied to clipboard
requireGroupChat
Link copied to clipboard
inline fun Chat . requireGroupChat (): GroupChat
Content copied to clipboard
requirePrivateChat
Link copied to clipboard
inline fun Chat . requirePrivateChat (): PrivateChat
Content copied to clipboard
requirePublicChat
Link copied to clipboard
inline fun Chat . requirePublicChat (): PublicChat
Content copied to clipboard
requireSupergroupChat
Link copied to clipboard
inline fun Chat . requireSupergroupChat (): SupergroupChat
Content copied to clipboard
requireSuperPublicChat
Link copied to clipboard
inline fun Chat . requireSuperPublicChat (): SuperPublicChat
Content copied to clipboard
requireUnknownChatType
Link copied to clipboard
inline fun Chat . requireUnknownChatType (): UnknownChatType
Content copied to clipboard
requireUser
Link copied to clipboard
inline fun Chat . requireUser (): User
Content copied to clipboard
requireUsernameChat
Link copied to clipboard
inline fun Chat . requireUsernameChat (): UsernameChat
Content copied to clipboard
whenBot
Link copied to clipboard
inline fun < T > Chat . whenBot (block: ( Bot ) -> T ): T ?
Content copied to clipboard
whenChannelChat
Link copied to clipboard
inline fun < T > Chat . whenChannelChat (block: ( ChannelChat ) -> T ): T ?
Content copied to clipboard
whenCommonBot
Link copied to clipboard
inline fun < T > Chat . whenCommonBot (block: ( CommonBot ) -> T ): T ?
Content copied to clipboard
whenCommonUser
Link copied to clipboard
inline fun < T > Chat . whenCommonUser (block: ( CommonUser ) -> T ): T ?
Content copied to clipboard
whenExtendedBot
Link copied to clipboard
inline fun < T > Chat . whenExtendedBot (block: ( ExtendedBot ) -> T ): T ?
Content copied to clipboard
whenExtendedChannelChat
Link copied to clipboard
inline fun < T > Chat . whenExtendedChannelChat (block: ( ExtendedChannelChat ) -> T ): T ?
Content copied to clipboard
whenExtendedChat
Link copied to clipboard
inline fun < T > Chat . whenExtendedChat (block: ( ExtendedChat ) -> T ): T ?
Content copied to clipboard
whenExtendedGroupChat
Link copied to clipboard
inline fun < T > Chat . whenExtendedGroupChat (block: ( ExtendedGroupChat ) -> T ): T ?
Content copied to clipboard
whenExtendedPrivateChat
Link copied to clipboard
inline fun < T > Chat . whenExtendedPrivateChat (block: ( ExtendedPrivateChat ) -> T ): T ?
Content copied to clipboard
whenExtendedPublicChat
Link copied to clipboard
inline fun < T > Chat . whenExtendedPublicChat (block: ( ExtendedPublicChat ) -> T ): T ?
Content copied to clipboard
whenExtendedSupergroupChat
Link copied to clipboard
inline fun < T > Chat . whenExtendedSupergroupChat (block: ( ExtendedSupergroupChat ) -> T ): T ?
Content copied to clipboard
whenGroupChat
Link copied to clipboard
inline fun < T > Chat . whenGroupChat (block: ( GroupChat ) -> T ): T ?
Content copied to clipboard
whenPrivateChat
Link copied to clipboard
inline fun < T > Chat . whenPrivateChat (block: ( PrivateChat ) -> T ): T ?
Content copied to clipboard
whenPublicChat
Link copied to clipboard
inline fun < T > Chat . whenPublicChat (block: ( PublicChat ) -> T ): T ?
Content copied to clipboard
whenSupergroupChat
Link copied to clipboard
inline fun < T > Chat . whenSupergroupChat (block: ( SupergroupChat ) -> T ): T ?
Content copied to clipboard
whenSuperPublicChat
Link copied to clipboard
inline fun < T > Chat . whenSuperPublicChat (block: ( SuperPublicChat ) -> T ): T ?
Content copied to clipboard
whenUnknownChatType
Link copied to clipboard
inline fun < T > Chat . whenUnknownChatType (block: ( UnknownChatType ) -> T ): T ?
Content copied to clipboard
whenUser
Link copied to clipboard
inline fun < T > Chat . whenUser (block: ( User ) -> T ): T ?
Content copied to clipboard
whenUsernameChat
Link copied to clipboard
inline fun < T > Chat . whenUsernameChat (block: ( UsernameChat ) -> T ): T ?
Content copied to clipboard