Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
@Serializable
data class ChatBoostAdded(val count: Int) : PublicChatEvent
Link copied to clipboard
Link copied to clipboard
class GroupChatCreated(val migratedTo: IdChatIdentifier?) : GroupEvent
Link copied to clipboard
Link copied to clipboard
@Serializable
data class MessageAutoDeleteTimerChanged(val newAutoDeleteTime: Seconds) : ChannelEvent, GroupEvent, SupergroupEvent, PrivateEvent
Link copied to clipboard
data class MigratedToSupergroup(val migratedFrom: IdChatIdentifier) : SupergroupEvent

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

Link copied to clipboard
data class NewChatMembers(val members: List<User>) : GroupEvent, SupergroupEvent
Link copied to clipboard
data class NewChatPhoto(val photo: PhotoFile) : PublicChatEvent
Link copied to clipboard
data class NewChatTitle(val title: String) : PublicChatEvent
Link copied to clipboard
data class PinnedMessage(val message: Message) : CommonEvent
Link copied to clipboard
@Serializable
data class ProximityAlertTriggered(val traveler: User, val watcher: User, val 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
Link copied to clipboard
data class UserLoggedIn(val domain: String) : PrivateEvent
Link copied to clipboard
@Serializable
data class WebAppData(val data: String, val buttonText: String) : PrivateEvent

Properties

Link copied to clipboard
Link copied to clipboard