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 : CommonEvent
GroupChatCreated
Link copied to clipboard
common
class GroupChatCreated(migratedTo: ChatIdentifier?) : GroupEvent
LeftChatMember
Link copied to clipboard
common
data class LeftChatMember(user: User) : CommonEvent
NewChatMembers
Link copied to clipboard
common
data class NewChatMembers(members: List<User>) : GroupEvent, SupergroupEvent
NewChatPhoto
Link copied to clipboard
common
data class NewChatPhoto(photo: List<PhotoSize>) : CommonEvent
NewChatTitle
Link copied to clipboard
common
data class NewChatTitle(title: String) : CommonEvent
PinnedMessage
Link copied to clipboard
common
data class PinnedMessage(message: Message) : CommonEvent
ProximityAlertTriggered
Link 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.

common
data class ProximityAlertTriggered(traveler: User, watcher: User, distance: Float) : CommonEvent
SupergroupChatCreated
Link copied to clipboard
common
class SupergroupChatCreated(migratedFrom: ChatIdentifier?) : SupergroupEvent