Module tdlight.api

Class TdApi.SetPinnedChats

Enclosing class:
TdApi

public static final class TdApi.SetPinnedChats extends TdApi.Function<TdApi.Ok>
Changes the order of pinned chats. Returns Ok
  • Field Details

    • chatList

      public TdApi.ChatList chatList
      Chat list in which to change the order of pinned chats.
    • chatIds

      public long[] chatIds
      The new list of pinned chats.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • SetPinnedChats

      public SetPinnedChats()
      Changes the order of pinned chats. Returns Ok
    • SetPinnedChats

      public SetPinnedChats(TdApi.ChatList chatList, long[] chatIds)
      Changes the order of pinned chats. Returns Ok
      Parameters:
      chatList - ChatList Chat list in which to change the order of pinned chats.
      chatIds - long[] The new list of pinned chats.
    • SetPinnedChats

      public SetPinnedChats(DataInput input) throws IOException
      Changes the order of pinned chats. Returns Ok
      Throws:
      IOException
  • Method Details