mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update create_invite_link.py
Added .types while importing inline markup keyboards (fix) Removed threading import since message is not to be deleted
This commit is contained in:
parent
e9d1d98f03
commit
6bb47e9a44
@ -1,7 +1,7 @@
|
|||||||
import telebot, threading
|
import telebot
|
||||||
from time import sleep, time
|
from time import sleep, time
|
||||||
from telebot import InlineKeyboardMarkup as ikm #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 import InlineKeyboardButton as ikb #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
|
||||||
|
|
||||||
Token = "api_token" #Your Bot Access Token
|
Token = "api_token" #Your Bot Access Token
|
||||||
Group_ID = -1234567890 #Group ID for which invite link is to be created
|
Group_ID = -1234567890 #Group ID for which invite link is to be created
|
||||||
|
Loading…
Reference in New Issue
Block a user