Package org.drinkless.tdlib
Class TdApi.OpenMessageContent
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.OpenMessageContent
-
- Enclosing class:
- TdApi
public static class TdApi.OpenMessageContent extends TdApi.Function
Informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message). An updateMessageContentOpened update will be generated if something has changed.Returns
Ok
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier of the message.static intCONSTRUCTORIdentifier uniquely determining type of the object.longmessageIdIdentifier of the message with the opened content.
-
Constructor Summary
Constructors Constructor Description OpenMessageContent()Default constructor for a function, which informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).OpenMessageContent(long chatId, long messageId)Creates a function, which informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier of the message.
-
messageId
public long messageId
Identifier of the message with the opened content.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenMessageContent
public OpenMessageContent()
Default constructor for a function, which informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message). An updateMessageContentOpened update will be generated if something has changed.Returns
Ok
-
OpenMessageContent
public OpenMessageContent(long chatId, long messageId)Creates a function, which informs TDLib that the message content has been opened (e.g., the user has opened a photo, video, document, location or venue, or has listened to an audio file or voice note message). An updateMessageContentOpened update will be generated if something has changed.Returns
Ok- Parameters:
chatId- Chat identifier of the message.messageId- Identifier of the message with the opened content.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-