Module tdlight.api

Class TdApi.GetChatPinnedMessage

Enclosing class:
TdApi

public static final class TdApi.GetChatPinnedMessage extends TdApi.Function<TdApi.Message>
Returns information about a newest pinned message in the chat.

Returns Message

  • Field Details

    • chatId

      public long chatId
      Identifier of the chat the message belongs to.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • GetChatPinnedMessage

      public GetChatPinnedMessage()
      Returns information about a newest pinned message in the chat.

      Returns Message

    • GetChatPinnedMessage

      public GetChatPinnedMessage(long chatId)
      Returns information about a newest pinned message in the chat.

      Returns Message

      Parameters:
      chatId - long Identifier of the chat the message belongs to.
    • GetChatPinnedMessage

      public GetChatPinnedMessage(DataInput input) throws IOException
      Returns information about a newest pinned message in the chat.

      Returns Message

      Throws:
      IOException
  • Method Details