lib/tdlib/client_methods.rb
# Revokes invite link for a chat.
# Available for basic groups, supergroups, and channels.
# Requires administrator privileges and can_invite_users 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.
#
# @param chat_id [Integer] Chat identifier.
# @param invite_link [TD::Types::String] Invite link to be revoked.
# @return [TD::Types::ChatInviteLinks]
Revokes invite link for a chat.
Available for basic groups, supergroups, and channels.
Requires administrator privileges and can_invite_users 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.
Revokes invite link for a chat . Available for basic groups supergroups and channels . Requires administrator privileges and can_invite_users 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 .
def revoke_chat_invite_link(chat_id:, invite_link:)
    broadcast('@type'       => 'revokeChatInviteLink',
              'chat_id'     => chat_id,
              'invite_link' => invite_link)
  end
def revoke_chat_invite_link ( chat_id : , invite_link : ) broadcast ( '@type' => 'revokeChatInviteLink' , 'chat_id' => chat_id , 'invite_link' => invite_link ) end
Revokes invite link for a chat.
Revokes invite link for a chat .
None
TD::Types::ChatInviteLinks
chat_id
None
invite_link
Invite link to be revoked.
Invite link to be revoked .