nickoala / telepot

Python framework for Telegram Bot API
MIT License
2.42k stars 474 forks source link

How to use exportchatinvitelink? #360

Closed codingsett closed 6 years ago

codingsett commented 6 years ago

Hello i have been trying to get the channel invite link with the bot which is an admin but i havent been able to?This is my snippet

bot.exportChatInviteLink('@channelname')

codingsett commented 6 years ago

found out a solution link=bot.exportChatInviteLink('@channelname) print(link)