Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1Message[][src]

pub struct GoogleCloudDialogflowV2beta1Message {
    pub content: Option<String>,
    pub language_code: Option<String>,
    pub participant: Option<String>,
    pub name: Option<String>,
    pub participant_role: Option<String>,
    pub create_time: Option<String>,
}

Represents a message posted into a conversation.

This type is not used in any activity, and only used as part of another schema.

Fields

Required. The message content.

Required. The message language. This should be a BCP-47 language tag. Example: "en-US".

Required. The participant that said this message.

Required. The unique identifier of the message. Format: projects/<Project ID>/conversations/<Conversation ID>/messages/<Message ID>.

Optional. The role of the participant.

Optional. The time when the message was sent.

Trait Implementations

impl Default for GoogleCloudDialogflowV2beta1Message
[src]

Returns the "default value" for a type. Read more

impl Clone for GoogleCloudDialogflowV2beta1Message
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2beta1Message
[src]

Formats the value using the given formatter. Read more

impl Part for GoogleCloudDialogflowV2beta1Message
[src]

Auto Trait Implementations