Module tdlight.api

Class TdApi.DeleteRevokedChatInviteLink

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.Ok>
it.tdlight.jni.TdApi.DeleteRevokedChatInviteLink
Enclosing class:
TdApi

public static final class TdApi.DeleteRevokedChatInviteLink extends TdApi.Function<TdApi.Ok>
Deletes revoked chat invite links. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.

Returns Ok

  • Field Details

    • chatId

      public long chatId
      Chat identifier.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • DeleteRevokedChatInviteLink

      public DeleteRevokedChatInviteLink()
      Deletes revoked chat invite links. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.

      Returns Ok

    • DeleteRevokedChatInviteLink

      public DeleteRevokedChatInviteLink(long chatId, String inviteLink)
      Deletes revoked chat invite links. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.

      Returns Ok

      Parameters:
      chatId - long Chat identifier.
      inviteLink - String Invite link to revoke.
    • DeleteRevokedChatInviteLink

      public DeleteRevokedChatInviteLink(DataInput input) throws IOException
      Deletes revoked chat invite links. Requires administrator privileges and canInviteUsers right in the chat for own links and owner privileges for other links.

      Returns Ok

      Throws:
      IOException
  • Method Details