Struct webex::types::MessageListParams
source · pub struct MessageListParams<'a> {
pub room_id: &'a str,
pub parent_id: Option<&'a str>,
pub mentioned_people: &'a [&'a str],
pub before: Option<&'a str>,
pub before_message: Option<&'a str>,
pub max: Option<u32>,
}
Expand description
Parameters for listing messages
Fields§
§room_id: &'a str
List messages in a room, by ID.
parent_id: Option<&'a str>
List messages with a parent, by ID.
mentioned_people: &'a [&'a str]
List messages with these people mentioned, by ID. Use me as a shorthand for the current API user. Only me or the person ID of the current user may be specified. Bots must include this parameter to list messages in group rooms (spaces).
before: Option<&'a str>
List messages sent before a date and time.
before_message: Option<&'a str>
List messages sent before a message, by ID.
max: Option<u32>
Limit the maximum number of messages in the response. Default: 50
Implementations§
Trait Implementations§
source§impl<'a> Debug for MessageListParams<'a>
impl<'a> Debug for MessageListParams<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for MessageListParams<'a>
impl<'a> Send for MessageListParams<'a>
impl<'a> Sync for MessageListParams<'a>
impl<'a> Unpin for MessageListParams<'a>
impl<'a> UnwindSafe for MessageListParams<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more