Class TdApi.SetPinnedChats

  • Enclosing class:
    TdApi

    public static class TdApi.SetPinnedChats
    extends TdApi.Function
    Changes the order of pinned chats.

    Returns Ok

    • Field Detail

      • 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
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SetPinnedChats

        public SetPinnedChats()
        Default constructor for a function, which changes the order of pinned chats.

        Returns Ok

      • SetPinnedChats

        public SetPinnedChats​(TdApi.ChatList chatList,
                              long[] chatIds)
        Creates a function, which changes the order of pinned chats.

        Returns Ok

        Parameters:
        chatList - Chat list in which to change the order of pinned chats.
        chatIds - The new list of pinned chats.