Class FindDirectMessageRequest
A request to get direct message space based on the user resource.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class FindDirectMessageRequest : IMessage<FindDirectMessageRequest>, IEquatable<FindDirectMessageRequest>, IDeepCloneable<FindDirectMessageRequest>, IBufferMessage, IMessage
Constructors
FindDirectMessageRequest()
Declaration
public FindDirectMessageRequest()
FindDirectMessageRequest(FindDirectMessageRequest)
Declaration
public FindDirectMessageRequest(FindDirectMessageRequest other)
Parameters
Type | Name | Description |
---|---|---|
FindDirectMessageRequest | other |
Properties
Name
Required. Resource name of the user to find direct message with.
Format: users/{user}
, where {user}
is either the id
for the
person from the
People API, or the id
for the
user
in the Directory API. For example, if the People API profile ID is
123456789
, you can find a direct message with that person by using
users/123456789
as the name
. When authenticated as a
user,
you can use the email as an alias for {user}
. For example,
users/example@gmail.com
where example@gmail.com
is the email of the
Google Chat user.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |