Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
coder2020official committed Aug 15, 2024
1 parent 80a5b94 commit d621647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telebot/apihelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ def create_chat_subscription_invite_link(token, chat_id, subscription_period, su
payload['name'] = name
return _make_request(token, method_url, params=payload, method='post')

def edit_chat_subscription_invite_link(self.token, chat_id, invite_link, name=None):
def edit_chat_subscription_invite_link(token, chat_id, invite_link, name=None):
method_url = 'editChatSubscriptionInviteLink'
payload = {
'chat_id': chat_id,
Expand Down

0 comments on commit d621647

Please sign in to comment.