diff --git a/examples/create_invite_link.py b/examples/create_invite_link.py index 6259b92..ffbc8b9 100644 --- a/examples/create_invite_link.py +++ b/examples/create_invite_link.py @@ -20,7 +20,7 @@ def newmember(msg): InviteLink = invite.invite_link #Get the actual invite link from 'invite' class mrkplink = InlineKeyboardMarkup() #Created Inline Keyboard Markup mrkplink.add(InlineKeyboardButton("Join our group 🚀", url=InviteLink)) #Added Invite Link to Inline Keyboard - bot.send_message(msg.chat.id, f"Hey there {msg.from_user.first_name}, Click the link below to join our Official Group." reply_markup=mrkplink) + bot.send_message(msg.chat.id, f"Hey there {msg.from_user.first_name}, Click the link below to join our Official Group.", reply_markup=mrkplink) #This will send a message with the newly-created invite link as markup button. #The member limit will be 1 and expiring time will be 45 sec.