edit_chat_subscription_invite_link¶
-
template<class Agent>
api_result<chat_invite_link_t, Agent&&> edit_chat_subscription_invite_link(Agent &&agent, edit_chat_subscription_invite_link_args_t args)¶
-
template<class Agent, class F>
void edit_chat_subscription_invite_link(Agent &&agent, edit_chat_subscription_invite_link_args_t args, F &&callback)¶ agentis any object satisfying agent concept.callbackis any callable object acceptingexpected<chat_invite_link_t>.Use this method to edit a subscription invite link created by the bot. The bot must have the can_invite_users administrator rights. Returns the edited invite link as a ChatInviteLink object.
-
struct edit_chat_subscription_invite_link_args_t¶
Arguments that should be passed to
edit_chat_subscription_invite_link().Unique identifier for the target chat or username of the target channel (in the format @channelusername)
The invite link to edit
-
optional_t<string_t> name¶
Invite link name; 0-32 characters
-
optional_t<string_t> name¶