Class TdApi.OpenMessageContent

  • Enclosing class:
    TdApi

    public static class TdApi.OpenMessageContent
    extends TdApi.Function
    This method should be called if 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
      long chatId
      Chat identifier of the message.
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      long messageId
      Identifier of the message with the opened content.
    • Constructor Summary

      Constructors 
      Constructor Description
      OpenMessageContent()
      Default constructor.
      OpenMessageContent​(long chatId, long messageId)
      Constructor for initialization of all fields.
    • 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.
      • OpenMessageContent

        public OpenMessageContent​(long chatId,
                                  long messageId)
        Constructor for initialization of all fields.
        Parameters:
        chatId - Chat identifier of the message.
        messageId - Identifier of the message with the opened content.