Document that subscription links can't be edited.

This commit is contained in:
levlam 2024-07-23 20:35:52 +03:00
parent 3db3f1a4b3
commit d20a3f1552

View File

@ -10031,7 +10031,8 @@ replacePrimaryChatInviteLink chat_id:int53 = ChatInviteLink;
//-must not be used
createChatInviteLink chat_id:int53 name:string expiration_date:int32 member_limit:int32 creates_join_request:Bool subscription_pricing:starSubscriptionPricing = ChatInviteLink;
//@description Edits a non-primary invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links
//@description Edits a non-primary invite link for a chat. Available for basic groups, supergroups, and channels. Links requiring subscription can't be edited.
//-Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links
//@chat_id Chat identifier
//@invite_link Invite link to be edited
//@name Invite link name; 0-32 characters