# dev.inmo.tgbotapi.types.message.ChatEvents

docs

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

## Types

ChannelChatCreated
Link copied to clipboard
class ChannelChatCreated : ChannelEvent
Content copied to clipboard
DeleteChatPhoto
Link copied to clipboard
class DeleteChatPhoto : PublicChatEvent
Content copied to clipboard
GroupChatCreated
Link copied to clipboard
class GroupChatCreated (val migratedTo: ChatId ?) : GroupEvent
Content copied to clipboard
LeftChatMember
Link copied to clipboard
data class LeftChatMember (val user: User ) : PublicChatEvent, WithUser
Content copied to clipboard
MessageAutoDeleteTimerChanged
Link copied to clipboard
data class MessageAutoDeleteTimerChanged (val newAutoDeleteTime: Seconds ) : ChannelEvent, GroupEvent, SupergroupEvent, PrivateEvent
Content copied to clipboard
MigratedToSupergroup
Link copied to clipboard
data class MigratedToSupergroup (val migratedFrom: ChatId ) : SupergroupEvent
Content copied to clipboard

This event is sent when a group is converted to a supergroup.

NewChatMembers
Link copied to clipboard
data class NewChatMembers (val members: List < User >) : GroupEvent, SupergroupEvent
Content copied to clipboard
NewChatPhoto
Link copied to clipboard
data class NewChatPhoto (val photo: Photo ) : PublicChatEvent
Content copied to clipboard
NewChatTitle
Link copied to clipboard
data class NewChatTitle (val title: String ) : PublicChatEvent
Content copied to clipboard
PinnedMessage
Link copied to clipboard
data class PinnedMessage (val message: Message ) : CommonEvent
Content copied to clipboard
ProximityAlertTriggered
Link copied to clipboard
data class ProximityAlertTriggered ( val traveler: User , val watcher: User , val distance: Meters ) : PublicChatEvent
Content copied to clipboard

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
class SupergroupChatCreated (val migratedFrom: ChatId ?) : SupergroupEvent
Content copied to clipboard
UserLoggedIn
Link copied to clipboard
data class UserLoggedIn (val domain: String ) : PrivateEvent
Content copied to clipboard
WebAppData
Link copied to clipboard
data class WebAppData (val data: String , val buttonText: String ) : PrivateEvent
Content copied to clipboard

## Properties

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