ChatAction
public indirect enum ChatAction : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes the different types of activity in a chat
-
The user is typing a message
Declaration
Swift
case typing
-
The user is recording a video
Declaration
Swift
case recordingVideo
-
The user is uploading a video
- progress: Upload progress, as a percentage
Declaration
Swift
case uploadingVideo(progress: Int32)
-
The user is recording a voice note
Declaration
Swift
case recordingVoiceNote
-
The user is uploading a voice note
- progress: Upload progress, as a percentage
Declaration
Swift
case uploadingVoiceNote(progress: Int32)
-
The user is uploading a photo
- progress: Upload progress, as a percentage
Declaration
Swift
case uploadingPhoto(progress: Int32)
-
The user is uploading a document
- progress: Upload progress, as a percentage
Declaration
Swift
case uploadingDocument(progress: Int32)
-
The user is picking a location or venue to send
Declaration
Swift
case choosingLocation
-
The user is picking a contact to send
Declaration
Swift
case choosingContact
-
The user has started to play a game
Declaration
Swift
case startPlayingGame
-
The user is recording a video note
Declaration
Swift
case recordingVideoNote
-
The user is uploading a video note
- progress: Upload progress, as a percentage
Declaration
Swift
case uploadingVideoNote(progress: Int32)
-
The user has cancelled the previous action
Declaration
Swift
case cancel