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 : PublicChatEvent
GroupChatCreated
Link copied to clipboard
common
class GroupChatCreated(migratedTo: ChatIdentifier?) : GroupEvent
LeftChatMember
Link copied to clipboard
common
data class LeftChatMember(user: User) : PublicChatEvent, WithUser
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) : PublicChatEvent
NewChatTitle
Link copied to clipboard
common
data class NewChatTitle(title: String) : PublicChatEvent
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) : PublicChatEvent

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