export_chat_invite_link#
-
template<class Connector>
api_result<string_t, Connector&&> export_chat_invite_link(Connector &&connector, export_chat_invite_link_args_t args)#
-
template<class Connector>
api_result<string_t, Connector&&> call(Connector &&connector, export_chat_invite_link_args_t args)# connector
is any object satisfying connector concept.Use this method to generate a new invite link for a chat; any previously generated link is revoked. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the new invite link as String on success.