Class SpacesResource.MessagesResource.GetRequest
Returns details about a message. For an example, see Read a message. Requires authentication. Supports app authentication and user authentication. Note: Might return a message from a blocked member or space.
Inheritance
SpacesResource.MessagesResource.GetRequest
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class SpacesResource.MessagesResource.GetRequest : HangoutsChatBaseServiceRequest<Message>, IClientServiceRequest<Message>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HangoutsChat.v1.Data.Message>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HangoutsChat.v1.Data.Message>.MethodName
Name
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]
(https://developers.google.com/chat/api/guides/v1/messages/create#name_a_created_message).
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.HangoutsChat.v1.Data.Message>.RestPath
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()