Package dev.inmo.tgbotapi.types.chat

Types

ChannelChatImpl
Link copied to clipboard
common
data class ChannelChatImpl(id: ChatId, title: String, username: Username?) : ChannelChat
ChatPermissions
Link copied to clipboard
common
data class ChatPermissions(canSendMessages: Boolean, canSendMediaMessages: Boolean, canSendPolls: Boolean, canSendOtherMessages: Boolean, canAddWebPagePreviews: Boolean, canChangeInfo: Boolean, canInviteUsers: Boolean, canPinMessages: Boolean)
GroupChatImpl
Link copied to clipboard
common
data class GroupChatImpl(id: ChatId, title: String) : GroupChat
PrivateChatImpl
Link copied to clipboard
common
data class PrivateChatImpl(id: ChatId, username: Username?, firstName: String, lastName: String) : PrivateChat
SupergroupChatImpl
Link copied to clipboard
common
data class SupergroupChatImpl(id: ChatId, title: String, username: Username?) : SupergroupChat

Properties

LeftRestrictionsChatPermissions
Link copied to clipboard
common
val LeftRestrictionsChatPermissions: ChatPermissions
RestrictionsChatPermissions
Link copied to clipboard
common
val RestrictionsChatPermissions: ChatPermissions