Package dev.inmo.tgbotapi.types.message.ChatEvents

Types

ChannelChatCreated
Link copied to clipboard
common
class ChannelChatCreated : ChannelEvent
DeleteChatPhoto
Link copied to clipboard
common
class DeleteChatPhoto : CommonEvent
GroupChatCreated
Link copied to clipboard
common
class GroupChatCreated(migratedTo: ChatIdentifier?) : GroupEvent
LeftChatMember
Link copied to clipboard
common
data class LeftChatMember(user: User) : CommonEvent
MessageAutoDeleteTimerChanged
Link copied to clipboard
common
data class MessageAutoDeleteTimerChanged(newAutoDeleteTime: Seconds) : ChannelEvent, GroupEvent, SupergroupEvent
NewChatMembers
Link copied to clipboard
common
data class NewChatMembers(members: List<User>) : GroupEvent, SupergroupEvent
NewChatPhoto
Link copied to clipboard
common
data class NewChatPhoto(photo: Photo) : CommonEvent
NewChatTitle
Link copied to clipboard
common
data class NewChatTitle(title: String) : CommonEvent
PinnedMessage
Link copied to clipboard
common
data class PinnedMessage(message: Message) : CommonEvent
ProximityAlertTriggered
Link copied to clipboard
common
data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Meters) : CommonEvent
This object represents the content of a service message, sent whenever a user in the chat triggers a proximity alert set by another user.
SupergroupChatCreated
Link copied to clipboard
common
class SupergroupChatCreated(migratedFrom: ChatIdentifier?) : SupergroupEvent

Properties

is24Hours
Link copied to clipboard
common
val MessageAutoDeleteTimerChanged.is24Hours: Boolean
is7Days
Link copied to clipboard
common
val MessageAutoDeleteTimerChanged.is7Days: Boolean
isOff
Link copied to clipboard
common
val MessageAutoDeleteTimerChanged.isOff: Boolean