Package dev. inmo. tgbotapi. types. message. ChatEvents
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class LeftChatMemberEvent(val user: User) : PublicChatEvent, WithUser
Content copied to clipboard
Link copied to clipboard
data class MessageAutoDeleteTimerChanged(val newAutoDeleteTime: Seconds) : ChannelEvent, GroupEvent, SupergroupEvent, PrivateEvent
Content copied to clipboard
Link copied to clipboard
data class MigratedToSupergroup(val migratedFrom: ChatId) : SupergroupEvent
Content copied to clipboard
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
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ProximityAlertTriggered( val traveler: User, val watcher: User, val distance: Meters) : PublicChatEvent
Content 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.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class WebAppData(val data: String, val buttonText: String) : PrivateEvent
Content copied to clipboard