We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d1d98 commit 6bb47e9Copy full SHA for 6bb47e9
examples/create_invite_link.py
@@ -1,7 +1,7 @@
1
-import telebot, threading
+import telebot
2
from time import sleep, time
3
-from telebot import InlineKeyboardMarkup as ikm #Only for creating Inline Buttons, not necessary for creating Invite Links
4
-from telebot import InlineKeyboardButton as ikb #Only for creating Inline Buttons, not necessary for creating Invite Links
+from telebot.types import InlineKeyboardMarkup as ikm #Only for creating Inline Buttons, not necessary for creating Invite Links
+from telebot.types import InlineKeyboardButton as ikb #Only for creating Inline Buttons, not necessary for creating Invite Links
5
6
Token = "api_token" #Your Bot Access Token
7
Group_ID = -1234567890 #Group ID for which invite link is to be created
0 commit comments