Package org.drinkless.tdlib
Class TdApi.InputRichMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputRichMessage
- Enclosing class:
- TdApi
A rich message to send. Total length of all texts, including custom emoji alternative text and formula source, must not exceed getOption("rich_message_text_length_max"). The total number of all blocks, list items and table rows must not exceed getOption("rich_message_block_count_max"). The maximum allowed depth of nested blocks and rich texts is getOption("rich_message_depth_max"). The total number of media in all blocks must not exceed getOption("rich_message_media_count_max"). The maximum allowed number of table columns is getOption("rich_message_table_column_count_max").
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.booleanPass true to enable detection of URLs, email addresses and other automatic blocks.booleanPass true if the message must be shown from right to left.Source of the rich message. -
Constructor Summary
ConstructorsConstructorDescriptionA rich message to send.InputRichMessage(TdApi.RichMessageSource source, boolean isRtl, boolean detectAutomaticBlocks) A rich message to send. -
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
-
source
Source of the rich message. -
isRtl
public boolean isRtlPass true if the message must be shown from right to left. -
detectAutomaticBlocks
public boolean detectAutomaticBlocksPass true to enable detection of URLs, email addresses and other automatic blocks. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InputRichMessage
public InputRichMessage()A rich message to send. Total length of all texts, including custom emoji alternative text and formula source, must not exceed getOption("rich_message_text_length_max"). The total number of all blocks, list items and table rows must not exceed getOption("rich_message_block_count_max"). The maximum allowed depth of nested blocks and rich texts is getOption("rich_message_depth_max"). The total number of media in all blocks must not exceed getOption("rich_message_media_count_max"). The maximum allowed number of table columns is getOption("rich_message_table_column_count_max"). -
InputRichMessage
public InputRichMessage(TdApi.RichMessageSource source, boolean isRtl, boolean detectAutomaticBlocks) A rich message to send. Total length of all texts, including custom emoji alternative text and formula source, must not exceed getOption("rich_message_text_length_max"). The total number of all blocks, list items and table rows must not exceed getOption("rich_message_block_count_max"). The maximum allowed depth of nested blocks and rich texts is getOption("rich_message_depth_max"). The total number of media in all blocks must not exceed getOption("rich_message_media_count_max"). The maximum allowed number of table columns is getOption("rich_message_table_column_count_max").- Parameters:
source- Source of the rich message.isRtl- Pass true if the message must be shown from right to left.detectAutomaticBlocks- Pass true to enable detection of URLs, email addresses and other automatic blocks.
-
-
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
-