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

Types

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

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

NewChatMembers
Link copied to clipboard
data class NewChatMembers(members: List<User>) : GroupEvent, SupergroupEvent
NewChatPhoto
Link copied to clipboard
data class NewChatPhoto(photo: Photo) : PublicChatEvent
NewChatTitle
Link copied to clipboard
data class NewChatTitle(title: String) : PublicChatEvent
PinnedMessage
Link copied to clipboard
data class PinnedMessage(message: Message) : CommonEvent
ProximityAlertTriggered
Link copied to clipboard
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
class SupergroupChatCreated(migratedFrom: ChatId?) : SupergroupEvent
UserLoggedIn
Link copied to clipboard
data class UserLoggedIn(domain: String) : PrivateEvent

Properties

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