Package org.drinkless.tdlib
Class TdApi.InputRichMessageMedia
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputRichMessageMedia
- Enclosing class:
- TdApi
Describes a media to be used in a sent rich message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Unique identifier of the media; 1-64 base64url characters.The media to send. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a media to be used in a sent rich message.InputRichMessageMedia(String id, TdApi.InputMessageContent media) Describes a media to be used in a sent rich message. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
Unique identifier of the media; 1-64 base64url characters. -
media
The media to send. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessagePhoto, inputMessageVideo, or inputMessageVoiceNote. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputRichMessageMedia
public InputRichMessageMedia()Describes a media to be used in a sent rich message. -
InputRichMessageMedia
Describes a media to be used in a sent rich message.- Parameters:
id- Unique identifier of the media; 1-64 base64url characters.media- The media to send. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessagePhoto, inputMessageVideo, or inputMessageVoiceNote.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-