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

Types

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

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

Link copied to clipboard
data class NewChatMembers(members: List<User>) : GroupEvent, SupergroupEvent
Link copied to clipboard
data class NewChatPhoto(photo: Photo) : PublicChatEvent
Link copied to clipboard
data class NewChatTitle(title: String) : PublicChatEvent
Link copied to clipboard
data class PinnedMessage(message: Message) : CommonEvent
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.

Link copied to clipboard
class SupergroupChatCreated(migratedFrom: ChatId?) : SupergroupEvent
Link copied to clipboard
data class UserLoggedIn(domain: String) : PrivateEvent

Properties

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