Class TdApi.UnpinAllDirectMessagesChatTopicMessages

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.Ok>
org.drinkless.tdlib.TdApi.UnpinAllDirectMessagesChatTopicMessages
Enclosing class:
TdApi

public static class TdApi.UnpinAllDirectMessagesChatTopicMessages extends TdApi.Function<TdApi.Ok>
Removes all pinned messages from the topic in a channel direct messages chat administered by the current user.

Returns Ok

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the chat.
    static final int
    Identifier uniquely determining type of the object.
    long
    Topic identifier.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which removes all pinned messages from the topic in a channel direct messages chat administered by the current user.
    UnpinAllDirectMessagesChatTopicMessages(long chatId, long topicId)
    Creates a function, which removes all pinned messages from the topic in a channel direct messages chat administered by the current user.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat.
    • topicId

      public long topicId
      Topic identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • UnpinAllDirectMessagesChatTopicMessages

      public UnpinAllDirectMessagesChatTopicMessages()
      Default constructor for a function, which removes all pinned messages from the topic in a channel direct messages chat administered by the current user.

      Returns Ok

    • UnpinAllDirectMessagesChatTopicMessages

      public UnpinAllDirectMessagesChatTopicMessages(long chatId, long topicId)
      Creates a function, which removes all pinned messages from the topic in a channel direct messages chat administered by the current user.

      Returns Ok

      Parameters:
      chatId - Identifier of the chat.
      topicId - Topic identifier.
  • 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 class TdApi.Object
      Returns:
      this.CONSTRUCTOR