pub fn conversation_id(&self) -> Option<String> {
        debug!("Message.conversation_id(id = {})", self.id_);
        if self.is_ready() {
            let payload = self.payload().unwrap();
            if !payload.room_id.is_empty() {
                Some(payload.room_id)
            } else if !payload.from_id.is_empty() {
                Some(payload.from_id)
            } else {
                None
            }
        } else {
            None
        }
    }
/// Get message's conversation id.
Get message's conversation id.
Get message ' s conversation id .
pub fn conversation_id(&self) -> Option<String> {
        debug!("Message.conversation_id(id = {})", self.id_);
        if self.is_ready() {
            let payload = self.payload().unwrap();
            if !payload.room_id.is_empty() {
                Some(payload.room_id)
            } else if !payload.from_id.is_empty() {
                Some(payload.from_id)
            } else {
                None
            }
        } else {
            None
        }
    }
pub fn conversation_id ( & self ) -> Option < String > { debug ! ( " " self id_ ) ; if self . is_ready ( ) { let payload = self . payload ( ) . unwrap ( ) ; if ! payload . room_id . is_empty ( ) { Some ( payload . room_id ) } else if ! payload . from_id . is_empty ( ) { Some ( payload . from_id ) } else { None } } else { None } }
Get message's conversation id.
Get message ' s conversation id .
&self
&self