Layer 220
SendMessageAction
Abstract type representing one of 19 possible constructors.
Type
Available Constructors
In Gogram, this type is represented as tg.SendMessageAction interface.
Use any of the following constructors:
SendMessageTypingAction
User is typing.
SendMessageCancelAction
Invalidate all previous action updates. E. g. when user deletes entered text or aborts a video upload
SendMessageUploadVideoAction
User is uploading a video.
SendMessageRecordVideoAction
User is recording a video.
SendMessageRecordAudioAction
User is recording a voice message.
SendMessageUploadDocumentAction
User is uploading a file.
SendMessageUploadPhotoAction
User is uploading a photo.
SendMessageUploadAudioAction
User is uploading a voice message.
SendMessageGeoLocationAction
User is selecting a location to share.
SendMessageUploadRoundAction
User is uploading a round video
SendMessageRecordRoundAction
User is recording a round video to share
SendMessageGamePlayAction
User is playing a game
SpeakingInGroupCallAction
User is currently speaking in the group call
SendMessageChooseContactAction
User is selecting a contact to share.
SendMessageHistoryImportAction
Chat history is being imported
SendMessageChooseStickerAction
User is choosing a sticker
SendMessageEmojiInteraction
User has clicked on an animated emoji triggering a reaction, click here for more info.
SendMessageTextDraftAction
No description
SendMessageEmojiInteractionSeen
User is watching an animated emoji reaction triggered by another user, click here for more info.
Gogram Example
// SendMessageAction is an interface type // You can use any of the following constructors: var _ tg.SendMessageAction = &tg.SendMessageTypingAction{} var _ tg.SendMessageAction = &tg.SendMessageCancelAction{} var _ tg.SendMessageAction = &tg.SendMessageUploadVideoAction{} var _ tg.SendMessageAction = &tg.SendMessageRecordVideoAction{} var _ tg.SendMessageAction = &tg.SendMessageRecordAudioAction{} // ... and 14 more constructors