Module tdlight.api

Class TdApi.CreateChatFolderInviteLink

Enclosing class:
TdApi

public static final class TdApi.CreateChatFolderInviteLink extends TdApi.Function<TdApi.ChatFolderInviteLink>
Creates a new invite link for a chat folder. A link can be created for a chat folder if it has only pinned and included chats. Returns ChatFolderInviteLink
  • Field Details

    • chatFolderId

      public int chatFolderId
      Chat folder identifier.
    • name

      public String name
      Name of the link; 0-32 characters.
    • chatIds

      public long[] chatIds
      Identifiers of chats to be accessible by the invite link. Use getChatsForChatFolderInviteLink to get suitable chats. Basic groups will be automatically converted to supergroups before link creation.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • CreateChatFolderInviteLink

      public CreateChatFolderInviteLink()
      Creates a new invite link for a chat folder. A link can be created for a chat folder if it has only pinned and included chats. Returns ChatFolderInviteLink
    • CreateChatFolderInviteLink

      public CreateChatFolderInviteLink(int chatFolderId, String name, long[] chatIds)
      Creates a new invite link for a chat folder. A link can be created for a chat folder if it has only pinned and included chats. Returns ChatFolderInviteLink
      Parameters:
      chatFolderId - int Chat folder identifier.
      name - String Name of the link; 0-32 characters.
      chatIds - long[] Identifiers of chats to be accessible by the invite link. Use getChatsForChatFolderInviteLink to get suitable chats. Basic groups will be automatically converted to supergroups before link creation.
    • CreateChatFolderInviteLink

      public CreateChatFolderInviteLink(DataInput input) throws IOException
      Creates a new invite link for a chat folder. A link can be created for a chat folder if it has only pinned and included chats. Returns ChatFolderInviteLink
      Throws:
      IOException
  • Method Details