Layer 224
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:
SendMessageCancelAction
Invalidate all previous action updates. E. g. when user deletes entered text or aborts a video upload
SendMessageRecordVideoAction
User is recording a video.
SendMessageUploadVideoAction
User is uploading a video.
SendMessageRecordAudioAction
User is recording a voice message.
SendMessageTypingAction
User is typing.
SendMessageUploadAudioAction
User is uploading a voice message.
SendMessageUploadPhotoAction
User is uploading a photo.
SendMessageUploadDocumentAction
User is uploading a file.
SendMessageGeoLocationAction
User is selecting a location to share.
SendMessageChooseContactAction
User is selecting a contact to share.
SendMessageGamePlayAction
User is playing a game
SendMessageRecordRoundAction
User is recording a round video to share
SendMessageUploadRoundAction
User is uploading a round video
SpeakingInGroupCallAction
User is currently speaking in the group call
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
Text draft action message
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.SendMessageCancelAction{} var _ tg.SendMessageAction = &tg.SendMessageRecordVideoAction{} var _ tg.SendMessageAction = &tg.SendMessageUploadVideoAction{} var _ tg.SendMessageAction = &tg.SendMessageRecordAudioAction{} var _ tg.SendMessageAction = &tg.SendMessageTypingAction{} // ... and 14 more constructors