O
O
OlegUnity2020-06-09 13:44:58
Python
OlegUnity, 2020-06-09 13:44:58

How to generate invitation link in telegram bot api?

There is a bot, chat manager, how to add the function of resetting and creating an invitation link to the chat?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladislav Dev, 2020-06-09
@OlegUnity

Sometimes it is useful to read the documentation
To generate a new one https://core.telegram.org/bots/api#exportchatinvitelink
To get the current one https://core.telegram.org/bots/api#getchat
Returns such an object , there is an invite_link, type - line

R
robprane, 2020-06-09
@robprane

https://core.telegram.org/bots/api#exportchatinvitelink

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question