Package org.drinkless.tdlib
Class TdApi.RichMessageSourceMarkdown
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.RichMessageSource
org.drinkless.tdlib.TdApi.RichMessageSourceMarkdown
- Enclosing class:
- TdApi
A Markdown-formatted rich message; for bots only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Media used in the message.Markdown-formatted text of the message. -
Constructor Summary
ConstructorsConstructorDescriptionA Markdown-formatted rich message; for bots only.RichMessageSourceMarkdown(String text, TdApi.InputRichMessageMedia[] media) A Markdown-formatted rich message; for bots only. -
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
-
text
Markdown-formatted text of the message. -
media
Media used in the message. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
RichMessageSourceMarkdown
public RichMessageSourceMarkdown()A Markdown-formatted rich message; for bots only. -
RichMessageSourceMarkdown
A Markdown-formatted rich message; for bots only.- Parameters:
text- Markdown-formatted text of the message.media- Media used in the message.
-
-
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
-