Module tdlight.api

Class TdApi.EditChatFolderInviteLink

Enclosing class:
TdApi

public static final class TdApi.EditChatFolderInviteLink extends TdApi.Function<TdApi.ChatFolderInviteLink>
Edits an invite link for a chat folder. Returns ChatFolderInviteLink
  • Field Details

    • chatFolderId

      public int chatFolderId
      Chat folder identifier.
    • name

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

      public long[] chatIds
      New 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 editing.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • EditChatFolderInviteLink

      public EditChatFolderInviteLink()
      Edits an invite link for a chat folder. Returns ChatFolderInviteLink
    • EditChatFolderInviteLink

      public EditChatFolderInviteLink(int chatFolderId, String inviteLink, String name, long[] chatIds)
      Edits an invite link for a chat folder. Returns ChatFolderInviteLink
      Parameters:
      chatFolderId - int Chat folder identifier.
      inviteLink - String Invite link to be edited.
      name - String New name of the link; 0-32 characters.
      chatIds - long[] New 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 editing.
    • EditChatFolderInviteLink

      public EditChatFolderInviteLink(DataInput input) throws IOException
      Edits an invite link for a chat folder. Returns ChatFolderInviteLink
      Throws:
      IOException
  • Method Details