Module tdlight.api

Class TdApi.AddChatFolderByInviteLink

Enclosing class:
TdApi

public static final class TdApi.AddChatFolderByInviteLink extends TdApi.Function<TdApi.Ok>
Adds a chat folder by an invite link. Returns Ok
  • Field Details

    • chatIds

      public long[] chatIds
      Identifiers of the chats added to the chat folder. The chats are automatically joined if they aren't joined yet.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • AddChatFolderByInviteLink

      public AddChatFolderByInviteLink()
      Adds a chat folder by an invite link. Returns Ok
    • AddChatFolderByInviteLink

      public AddChatFolderByInviteLink(String inviteLink, long[] chatIds)
      Adds a chat folder by an invite link. Returns Ok
      Parameters:
      inviteLink - String Invite link for the chat folder.
      chatIds - long[] Identifiers of the chats added to the chat folder. The chats are automatically joined if they aren't joined yet.
    • AddChatFolderByInviteLink

      public AddChatFolderByInviteLink(DataInput input) throws IOException
      Adds a chat folder by an invite link. Returns Ok
      Throws:
      IOException
  • Method Details