[−][src]Struct google_chat1::Message
A message in Hangouts Chat.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- messages update spaces (request|response)
- messages get spaces (response)
- messages create spaces (request|response)
Fields
action_response: Option<ActionResponse>
Input only. Parameters that a bot can use to configure how its response is posted.
name: Option<String>
Resource name, in the form "spaces//messages/".
Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
thread: Option<Thread>
The thread the message belongs to.
space: Option<Space>
The space the message belongs to.
text: Option<String>
Plain-text body of the message.
fallback_text: Option<String>
A plain-text description of the message's cards, used when the actual cards cannot be displayed (e.g. mobile notifications).
annotations: Option<Vec<Annotation>>
Output only. Annotations associated with the text in this message.
argument_text: Option<String>
Plain-text body of the message with all bot mentions stripped out.
cards: Option<Vec<Card>>
Rich, formatted and interactive cards that can be used to display UI elements such as: formatted texts, buttons, clickable images. Cards are normally displayed below the plain-text body of the message.
preview_text: Option<String>
Text for generating preview chips. This text will not be displayed to the user, but any links to images, web pages, videos, etc. included here will generate preview chips.
create_time: Option<String>
Output only. The time at which the message was created in Hangouts Chat server.
sender: Option<User>
The user who created the message.
Trait Implementations
impl Clone for Message
[src]
impl Debug for Message
[src]
impl Default for Message
[src]
impl<'de> Deserialize<'de> for Message
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for Message
[src]
impl ResponseResult for Message
[src]
impl Serialize for Message
[src]
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,