java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.ChatFolderInviteLink>
it.tdlight.jni.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 Summary
Modifier and TypeFieldDescriptionint
Chat folder identifier.long[]
New identifiers of chats to be accessible by the invite link.static final int
Invite link to be edited.New name of the link; 0-32 characters. -
Constructor Summary
ConstructorDescriptionEdits an invite link for a chat folder.EditChatFolderInviteLink
(int chatFolderId, String inviteLink, String name, long[] chatIds) Edits an invite link for a chat folder.Edits an invite link for a chat folder. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatFolderId
public int chatFolderIdChat folder identifier. -
inviteLink
Invite link to be edited. -
name
New name of the link; 0-32 characters. -
chatIds
public long[] chatIdsNew 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. ReturnsChatFolderInviteLink
-
EditChatFolderInviteLink
Edits an invite link for a chat folder. ReturnsChatFolderInviteLink
- 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
Edits an invite link for a chat folder. ReturnsChatFolderInviteLink
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-