Package dev.inmo.tgbotapi.types.chat

Types

Link copied to clipboard
data class ChannelChatImpl(id: ChatId, title: String, username: Username?) : ChannelChat
Link copied to clipboard
data class ChatPermissions(canSendMessages: Boolean, canSendMediaMessages: Boolean, canSendPolls: Boolean, canSendOtherMessages: Boolean, canAddWebPagePreviews: Boolean, canChangeInfo: Boolean, canInviteUsers: Boolean, canPinMessages: Boolean)
Link copied to clipboard
sealed class ChatType
Link copied to clipboard
object ChatTypeSerializer : KSerializer<ChatType>
Link copied to clipboard
object ExtendedChatSerializer : KSerializer<ExtendedChat>
Link copied to clipboard
data class GroupChatImpl(id: ChatId, title: String) : GroupChat
Link copied to clipboard
object PreviewChatSerializer : KSerializer<Chat>
Link copied to clipboard
data class PrivateChatImpl(id: ChatId, username: Username?, firstName: String, lastName: String) : PrivateChat
Link copied to clipboard
data class SupergroupChatImpl(id: ChatId, title: String, username: Username?) : SupergroupChat

Properties

Link copied to clipboard
val String.asChatType: ChatType
Link copied to clipboard
val LeftRestrictionsChatPermissions: ChatPermissions
Link copied to clipboard
val RestrictionsChatPermissions: ChatPermissions