Package org.drinkless.tdlib
Class TdApi.PreparedInlineMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PreparedInlineMessage
- Enclosing class:
- TdApi
Represents a ready to send inline message. Use sendInlineQueryResultMessage to send the message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionTypes of the chats to which the message can be sent.static final int
Identifier uniquely determining type of the object.long
Unique identifier of the inline query to pass to sendInlineQueryResultMessage.Resulted inline message of the query. -
Constructor Summary
ConstructorsConstructorDescriptionRepresents a ready to send inline message.PreparedInlineMessage
(long inlineQueryId, TdApi.InlineQueryResult result, TdApi.TargetChatTypes chatTypes) Represents a ready to send inline message. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
inlineQueryId
public long inlineQueryIdUnique identifier of the inline query to pass to sendInlineQueryResultMessage. -
result
Resulted inline message of the query. -
chatTypes
Types of the chats to which the message can be sent. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PreparedInlineMessage
public PreparedInlineMessage()Represents a ready to send inline message. Use sendInlineQueryResultMessage to send the message. -
PreparedInlineMessage
public PreparedInlineMessage(long inlineQueryId, TdApi.InlineQueryResult result, TdApi.TargetChatTypes chatTypes) Represents a ready to send inline message. Use sendInlineQueryResultMessage to send the message.- Parameters:
inlineQueryId
- Unique identifier of the inline query to pass to sendInlineQueryResultMessage.result
- Resulted inline message of the query.chatTypes
- Types of the chats to which the message can be sent.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-