lib/tdlib/client_methods.rb
def edit_chat_invite_link(chat_id:, invite_link:, name:, expiration_date:, member_limit:, creates_join_request:)
    broadcast('@type'                => 'editChatInviteLink',
              'chat_id'              => chat_id,
              'invite_link'          => invite_link,
              'name'                 => name,
              'expiration_date'      => expiration_date,
              'member_limit'         => member_limit,
              'creates_join_request' => creates_join_request)
  end
# Edits a non-primary 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.
#
# @param chat_id [Integer] Chat identifier.
# @param invite_link [TD::Types::String] Invite link to be edited.
# @param name [TD::Types::String] Invite link name; 0-32 characters.
# @param expiration_date [Integer] Point in time (Unix timestamp) when the link will expire; pass 0 if never.
# @param member_limit [Integer] The maximum number of chat members that can join the chat via the link
#   simultaneously; 0-99999; pass 0 if not limited.
# @param creates_join_request [Boolean] True, if the link only creates join request.
#   If true, member_limit must not be specified.
# @return [TD::Types::ChatInviteLink]
Edits a non-primary 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.
Edits a non - primary 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 .
def edit_chat_invite_link(chat_id:, invite_link:, name:, expiration_date:, member_limit:, creates_join_request:)
    broadcast('@type'                => 'editChatInviteLink',
              'chat_id'              => chat_id,
              'invite_link'          => invite_link,
              'name'                 => name,
              'expiration_date'      => expiration_date,
              'member_limit'         => member_limit,
              'creates_join_request' => creates_join_request)
  end
def edit_chat_invite_link ( chat_id : , invite_link : , name : , expiration_date : , member_limit : , creates_join_request : ) broadcast ( '@type' => 'editChatInviteLink' , 'chat_id' => chat_id , 'invite_link' => invite_link , 'name' => name , 'expiration_date' => expiration_date , 'member_limit' => member_limit , 'creates_join_request' => creates_join_request ) end
Edits a non-primary invite link for a chat.
Edits a non - primary invite link for a chat .
None
TD::Types::ChatInviteLink
chat_id
None
invite_link
Invite link to be edited.
Invite link to be edited .
name
Invite link name; 0-32 characters.
Invite link name ; 0 - 32 characters .
expiration_date
Point in time (Unix timestamp) when the link will expire; pass 0 if never.
Point in time ( Unix timestamp ) when the link will expire ; pass 0 if never .
member_limit
The maximum number of chat members that can join the chat via the link simultaneously; 0-99999; pass 0 if not limited.
The maximum number of chat members that can join the chat via the link simultaneously ; 0 - 99999 ; pass 0 if not limited .
creates_join_request
True, if the link only creates join request. If true, member_limit must not be specified.
True if the link only creates join request . If true member_limit must not be specified .