Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::DeleteMessageRequest.
Request to delete a message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#force
def force() -> ::Boolean
-
(::Boolean) — When
true
, deleting a message also deletes its threaded replies. Whenfalse
, if a message has threaded replies, deletion fails.Only applies when authenticating as a user. Has no effect when authenticating as a Chat app.
#force=
def force=(value) -> ::Boolean
-
value (::Boolean) — When
true
, deleting a message also deletes its threaded replies. Whenfalse
, if a message has threaded replies, deletion fails.Only applies when authenticating as a user. Has no effect when authenticating as a Chat app.
-
(::Boolean) — When
true
, deleting a message also deletes its threaded replies. Whenfalse
, if a message has threaded replies, deletion fails.Only applies when authenticating as a user. Has no effect when authenticating as a Chat app.
#name
def name() -> ::String
-
(::String) — Required. Resource name of the message.
Format:
spaces/{space}/messages/{message}
If you've set a custom ID for your message, you can use the value from the
clientAssignedMessageId
field for{message}
. For details, see Name a message.
#name=
def name=(value) -> ::String
-
value (::String) — Required. Resource name of the message.
Format:
spaces/{space}/messages/{message}
If you've set a custom ID for your message, you can use the value from the
clientAssignedMessageId
field for{message}
. For details, see Name a message.
-
(::String) — Required. Resource name of the message.
Format:
spaces/{space}/messages/{message}
If you've set a custom ID for your message, you can use the value from the
clientAssignedMessageId
field for{message}
. For details, see Name a message.