Answer the question
In order to leave comments, you need to log in
Telebot, creating referral link in Python?
import telebot
client = telebot.TeleBot(config.token)
def subject(call):
invite_link = client.create_chat_invite_link(chat.id, member_limit=1)
bot.send_message(message.chat.id, invite_link)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question