Show / Hide Table of Contents

Class ListReactionsRequest

Lists reactions to a message.

Inheritance
object
ListReactionsRequest
Implements
IPageRequest
IMessage<ListReactionsRequest>
IEquatable<ListReactionsRequest>
IDeepCloneable<ListReactionsRequest>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class ListReactionsRequest : IPageRequest, IMessage<ListReactionsRequest>, IEquatable<ListReactionsRequest>, IDeepCloneable<ListReactionsRequest>, IBufferMessage, IMessage

Constructors

ListReactionsRequest()

Declaration
public ListReactionsRequest()

ListReactionsRequest(ListReactionsRequest)

Declaration
public ListReactionsRequest(ListReactionsRequest other)
Parameters
Type Name Description
ListReactionsRequest other

Properties

Filter

Optional. A query filter.

You can filter reactions by emoji (either emoji.unicode or emoji.custom_emoji.uid) and user (user.name).

To filter reactions for multiple emojis or users, join similar fields with the OR operator, such as emoji.unicode = "🙂" OR emoji.unicode = "👍" and user.name = "users/AAAAAA" OR user.name = "users/BBBBBB".

To filter reactions by emoji and user, use the AND operator, such as emoji.unicode = "🙂" AND user.name = "users/AAAAAA".

If your query uses both AND and OR, group them with parentheses.

For example, the following queries are valid:

user.name = "users/{user}"
emoji.unicode = "🙂"
emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR emoji.unicode = "👍"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" AND user.name = "users/{user}"
(emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}")
AND user.name = "users/{user}"

The following queries are invalid:

emoji.unicode = "🙂" AND emoji.unicode = "👍"
emoji.unicode = "🙂" AND emoji.custom_emoji.uid = "{uid}"
emoji.unicode = "🙂" OR user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}" OR
user.name = "users/{user}"
emoji.unicode = "🙂" OR emoji.custom_emoji.uid = "{uid}"
AND user.name = "users/{user}"

Invalid queries are rejected with an INVALID_ARGUMENT error.

Declaration
public string Filter { get; set; }
Property Value
Type Description
string

PageSize

Optional. The maximum number of reactions returned. The service can return fewer reactions than this value. If unspecified, the default value is 25. The maximum value is 200; values above 200 are changed to 200.

Declaration
public int PageSize { get; set; }
Property Value
Type Description
int
Implements
IPageRequest.PageSize

PageToken

Optional. (If resuming from a previous query.)

A page token received from a previous list reactions call. Provide this to retrieve the subsequent page.

When paginating, the filter value should match the call that provided the page token. Passing a different value might lead to unexpected results.

Declaration
public string PageToken { get; set; }
Property Value
Type Description
string
Implements
IPageRequest.PageToken

Parent

Required. The message users reacted to.

Format: spaces/{space}/messages/{message}

Declaration
public string Parent { get; set; }
Property Value
Type Description
string

ParentAsMessageName

MessageName-typed view over the Parent resource name property.

Declaration
public MessageName ParentAsMessageName { get; set; }
Property Value
Type Description
MessageName
In this article
Back to top Generated by DocFX