pub async fn invite_user_by_3pid(
        &self,
        room_id: &RoomId,
        invite_id: Invite3pid<'_>,
    ) -> Result<invite_user::Response> {
        let recipient = InvitationRecipient::ThirdPartyId(invite_id);
        let request = invite_user::Request::new(room_id, recipient);
        self.send(request).await
    }
/// Invite the specified user by third party id to the given room.
///
/// Returns a `invite_user::Response`, an empty response.
///
/// # Arguments
///
/// * `room_id` - The `RoomId` of the room to invite the specified user to.
///
/// * `invite_id` - A third party id of a user to invite to the room.
Invite the specified user by third party id to the given room.
Returns a `invite_user::Response`, an empty response.
Invite the specified user by third party id to the given room . Returns a ` invite_user :: Response ` an empty response .
pub async fn invite_user_by_3pid(
        &self,
        room_id: &RoomId,
        invite_id: Invite3pid<'_>,
    ) -> Result<invite_user::Response> {
        let recipient = InvitationRecipient::ThirdPartyId(invite_id);
        let request = invite_user::Request::new(room_id, recipient);
        self.send(request).await
    }
pub async fn invite_user_by_3pid ( & self , room_id : & RoomId , invite_id : Invite3pid < ' _ > , ) -> Result < invite_user :: Response > { let recipient = InvitationRecipient :: ThirdPartyId ( invite_id ) ; let request = invite_user :: Request :: new ( room_id , recipient ) ; self . send ( request ) . await }
Invite the specified user by third party id to the given room.
Invite the specified user by third party id to the given room .
&self
room_id
&RoomId
invite_id
Invite3pid<'_>
&self
room_id
&RoomId
invite_id
Invite3pid<'_>