pub fn create_muc_bookmark_iq(
    room: &BareJid,
    auto_join: bool,
    user_nick: Option<String>,
    room_name: Option<String>,
    password: Option<String>
) -> Iq
Expand description

Create the <iq> stanza that will create a new (MUC) room bookmark.

Arguments

  • room: The Jid of the room itself.
  • auto_join: Whether to auto-join on client startup
  • user_nick: The name of the user within the room.
  • room_name: A user-friendly name for the room.
  • password: The password of the room, if applicable.