Class UpdateMessageRequest
Request to update a message.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class UpdateMessageRequest : IMessage<UpdateMessageRequest>, IEquatable<UpdateMessageRequest>, IDeepCloneable<UpdateMessageRequest>, IBufferMessage, IMessage
Constructors
UpdateMessageRequest()
Declaration
public UpdateMessageRequest()
UpdateMessageRequest(UpdateMessageRequest)
Declaration
public UpdateMessageRequest(UpdateMessageRequest other)
Parameters
Type | Name | Description |
---|---|---|
UpdateMessageRequest | other |
Properties
AllowMissing
Optional. If true
and the message isn't found, a new message is created
and updateMask
is ignored. The specified message ID must be
client-assigned
or the request fails.
Declaration
public bool AllowMissing { get; set; }
Property Value
Type | Description |
---|---|
bool |
Message
Required. Message with fields updated.
Declaration
public Message Message { get; set; }
Property Value
Type | Description |
---|---|
Message |
UpdateMask
Required. The field paths to update. Separate multiple values with commas
or use *
to update all field paths.
Currently supported field paths:
text
attachment
cards
(Requires app authentication.)cards_v2
(Requires app authentication.)accessory_widgets
(Requires app authentication.)
Declaration
public FieldMask UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
FieldMask |