- Enclosing class:
- TdApi
Revokes invite link for a chat.
Available for basic groups, supergroups,
and channels. Requires administrator
privileges and canInviteUsers right
in the chat for own links and owner
privileges for other links. If a
primary link is revoked, then additionally
to the revoked link returns new primary link.
Returns
ChatInviteLinks
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Invite link to be revoked. -
Constructor Summary
ConstructorDescriptionRevokes invite link for a chat.RevokeChatInviteLink
(long chatId, String inviteLink) Revokes invite link for a chat.RevokeChatInviteLink
(DataInput input) Revokes invite link for a chat. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
inviteLink
Invite link to be revoked. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
RevokeChatInviteLink
public RevokeChatInviteLink()Revokes invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links. If a primary link is revoked, then additionally to the revoked link returns new primary link. ReturnsChatInviteLinks
-
RevokeChatInviteLink
Revokes invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links. If a primary link is revoked, then additionally to the revoked link returns new primary link. ReturnsChatInviteLinks
- Parameters:
chatId
- long Chat identifier.inviteLink
- String Invite link to be revoked.
-
RevokeChatInviteLink
Revokes invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links. If a primary link is revoked, then additionally to the revoked link returns new primary link. ReturnsChatInviteLinks
- 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()
-