Reference documentation and code samples for the Google Apps Chat V1 Client class MessageReplyOption.
Specifies how to reply to a message.
More states might be added in the future.
Protobuf type google.chat.v1.CreateMessageRequest.MessageReplyOption
Namespace
Google \ Apps \ Chat \ V1 \ CreateMessageRequest
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
MESSAGE_REPLY_OPTION_UNSPECIFIED
Value: 0
Default. Starts a new thread. Using this option ignores any thread
ID or
thread_key that's included.
Generated from protobuf enum MESSAGE_REPLY_OPTION_UNSPECIFIED = 0;
REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD
Value: 1
Creates the message as a reply to the thread specified by thread
ID or
thread_key. If it fails, the
message starts a new thread instead.
Generated from protobuf enum REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD = 1;
REPLY_MESSAGE_OR_FAIL
Value: 2
Creates the message as a reply to the thread specified by thread
ID or
thread_key. If a new thread_key
is used, a new thread is created. If the message creation fails, a
NOT_FOUND error is returned instead.
Generated from protobuf enum REPLY_MESSAGE_OR_FAIL = 2;
[[["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-04 UTC."],[],[],null,["# Google Apps Chat V1 Client - Class MessageReplyOption (0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/php/docs/reference/apps-chat/latest/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.11.2](/php/docs/reference/apps-chat/0.11.2/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.10.0](/php/docs/reference/apps-chat/0.10.0/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.9.0](/php/docs/reference/apps-chat/0.9.0/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.8.1](/php/docs/reference/apps-chat/0.8.1/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.7.2](/php/docs/reference/apps-chat/0.7.2/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.6.1](/php/docs/reference/apps-chat/0.6.1/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.5.0](/php/docs/reference/apps-chat/0.5.0/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.4.0](/php/docs/reference/apps-chat/0.4.0/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.3.0](/php/docs/reference/apps-chat/0.3.0/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.2.0](/php/docs/reference/apps-chat/0.2.0/Chat.V1.CreateMessageRequest.MessageReplyOption)\n- [0.1.4](/php/docs/reference/apps-chat/0.1.4/Chat.V1.CreateMessageRequest.MessageReplyOption) \nReference documentation and code samples for the Google Apps Chat V1 Client class MessageReplyOption.\n\nSpecifies how to reply to a message.\n\nMore states might be added in the future.\n\nProtobuf type `google.chat.v1.CreateMessageRequest.MessageReplyOption`\n\nNamespace\n---------\n\nGoogle \\\\ Apps \\\\ Chat \\\\ V1 \\\\ CreateMessageRequest\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### MESSAGE_REPLY_OPTION_UNSPECIFIED\n\n Value: 0\n\nDefault. Starts a new thread. Using this option ignores any [thread\nID](/php/docs/reference/apps-chat/latest/Chat.V1.Thread#_Google_Apps_Chat_V1_Thread__getName__) or\n[`thread_key`](/php/docs/reference/apps-chat/latest/Chat.V1.Thread#_Google_Apps_Chat_V1_Thread__getThreadKey__) that's included.\n\nGenerated from protobuf enum `MESSAGE_REPLY_OPTION_UNSPECIFIED = 0;`\n\n### REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\n\n Value: 1\n\nCreates the message as a reply to the thread specified by [thread\nID](/php/docs/reference/apps-chat/latest/Chat.V1.Thread#_Google_Apps_Chat_V1_Thread__getName__) or\n[`thread_key`](/php/docs/reference/apps-chat/latest/Chat.V1.Thread#_Google_Apps_Chat_V1_Thread__getThreadKey__). If it fails, the\nmessage starts a new thread instead.\n\nGenerated from protobuf enum `REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD = 1;`\n\n### REPLY_MESSAGE_OR_FAIL\n\n Value: 2\n\nCreates the message as a reply to the thread specified by [thread\nID](/php/docs/reference/apps-chat/latest/Chat.V1.Thread#_Google_Apps_Chat_V1_Thread__getName__) or\n[`thread_key`](/php/docs/reference/apps-chat/latest/Chat.V1.Thread#_Google_Apps_Chat_V1_Thread__getThreadKey__). If a new `thread_key`\nis used, a new thread is created. If the message creation fails, a\n`NOT_FOUND` error is returned instead.\n\nGenerated from protobuf enum `REPLY_MESSAGE_OR_FAIL = 2;`"]]