Optional. The unique identifier of the message.
Format: projects/<Project ID>/locations/<Location
ID>/conversations/<Conversation ID>/messages/<Message ID>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e class in the Google Cloud Dialogflow v2beta1 API represents a message within a conversation, with the latest version being 1.0.0-beta23.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eContent\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eLanguageCode\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e to define the message content, creation timestamp, language, and identifier respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e class also contains properties for participant details, such as \u003ccode\u003eParticipant\u003c/code\u003e, \u003ccode\u003eParticipantRole\u003c/code\u003e, and includes optional properties like \u003ccode\u003eResponseMessages\u003c/code\u003e, \u003ccode\u003eSendTime\u003c/code\u003e, and \u003ccode\u003eSentimentAnalysis\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMessage\u003c/code\u003e object can be instantiated using two constructors, one default constructor and another to clone another message object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dialogflow v2beta1 API - Class Message (1.0.0-beta23)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta23 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.Message)\n- [1.0.0-beta22](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/1.0.0-beta22/Google.Cloud.Dialogflow.V2Beta1.Message) \n\n public sealed class Message : IMessage\u003cMessage\u003e, IEquatable\u003cMessage\u003e, IDeepCloneable\u003cMessage\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Message.\n\nRepresents a message posted into a conversation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Message \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Message](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.Message), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Message](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.Message), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Message](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.Message), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dialogflow.V2Beta1](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.V2Beta1.dll\n\nConstructors\n------------\n\n### Message()\n\n public Message()\n\n### Message(Message)\n\n public Message(Message other)\n\nProperties\n----------\n\n### Content\n\n public string Content { get; set; }\n\nRequired. The message content.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The time when the message was created in Contact Center AI.\n\n### LanguageCode\n\n public string LanguageCode { get; set; }\n\nOptional. The message language.\nThis should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt)\nlanguage tag. Example: \"en-US\".\n\n### MessageAnnotation\n\n public MessageAnnotation MessageAnnotation { get; set; }\n\nOutput only. The annotation for the message.\n\n### MessageName\n\n public MessageName MessageName { get; set; }\n\n[MessageName](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.MessageName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.Message#Google_Cloud_Dialogflow_V2Beta1_Message_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nOptional. The unique identifier of the message.\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation\nID\u003e/conversations/\u003cConversation ID\u003e/messages/\u003cMessage ID\u003e`.\n\n### Participant\n\n public string Participant { get; set; }\n\nOutput only. The participant that sends this message.\n\n### ParticipantRole\n\n public Participant.Types.Role ParticipantRole { get; set; }\n\nOutput only. The role of the participant.\n\n### ResponseMessages\n\n public RepeatedField\u003cResponseMessage\u003e ResponseMessages { get; }\n\nOptional. Automated agent responses.\n\n### SendTime\n\n public Timestamp SendTime { get; set; }\n\nOptional. The time when the message was sent. For voice messages, this is\nthe time when an utterance started.\n\n### SentimentAnalysis\n\n public SentimentAnalysisResult SentimentAnalysis { get; set; }\n\nOutput only. The sentiment analysis result for the message."]]