pub async fn get_chat_invite_links(
chat_id: i64,
creator_user_id: i64,
is_revoked: bool,
offset_date: i32,
offset_invite_link: String,
limit: i32,
client_id: i32,
) -> Result<ChatInviteLinks, Error>Expand description
Returns invite links for a chat created by specified administrator. Requires administrator privileges and can_invite_users right in the chat to get own links and owner privileges to get other links
ยงArguments
chat_id- Chat identifiercreator_user_id- User identifier of a chat administrator. Must be an identifier of the current user for non-owneris_revoked- Pass true if revoked links needs to be returned instead of active or expiredoffset_date- Creation date of an invite link starting after which to return invite links; use 0 to get results from the beginningoffset_invite_link- Invite link starting after which to return invite links; use empty string to get results from the beginninglimit- The maximum number of invite links to return; up to 100client_id- The client id to send the request to