Module tdlight.api

Class TdApi.UnpinAllMessageThreadMessages

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.UnpinAllMessageThreadMessages
Enclosing class:
TdApi

public static final class TdApi.UnpinAllMessageThreadMessages extends TdApi.Function<TdApi.Ok>
Removes all pinned messages from a forum topic; requires canPinMessages rights in the supergroup. Returns Ok
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat.
    • messageThreadId

      public long messageThreadId
      Message thread identifier in which messages will be unpinned.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • UnpinAllMessageThreadMessages

      public UnpinAllMessageThreadMessages()
      Removes all pinned messages from a forum topic; requires canPinMessages rights in the supergroup. Returns Ok
    • UnpinAllMessageThreadMessages

      public UnpinAllMessageThreadMessages(long chatId, long messageThreadId)
      Removes all pinned messages from a forum topic; requires canPinMessages rights in the supergroup. Returns Ok
      Parameters:
      chatId - long Identifier of the chat.
      messageThreadId - long Message thread identifier in which messages will be unpinned.
    • UnpinAllMessageThreadMessages

      public UnpinAllMessageThreadMessages(DataInput input) throws IOException
      Removes all pinned messages from a forum topic; requires canPinMessages rights in the supergroup. Returns Ok
      Throws:
      IOException
  • Method Details