Show / Hide Table of Contents

Class SearchMessageResult

A single result item from a message search.

Inheritance
object
SearchMessageResult
Implements
IMessage<SearchMessageResult>
IEquatable<SearchMessageResult>
IDeepCloneable<SearchMessageResult>
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 SearchMessageResult : IMessage<SearchMessageResult>, IEquatable<SearchMessageResult>, IDeepCloneable<SearchMessageResult>, IBufferMessage, IMessage

Constructors

SearchMessageResult()

Declaration
public SearchMessageResult()

SearchMessageResult(SearchMessageResult)

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

Properties

HasRead

Gets whether the "read" field is set

Declaration
public bool HasRead { get; }
Property Value
Type Description
bool

Message

The matched message.

Declaration
public Message Message { get; set; }
Property Value
Type Description
Message

Read

Indicates if the matched message is read by the calling user.

Only returned if the request view is SEARCH_MESSAGES_VIEW_FULL and the calling credentials include one of the following authorization scopes:

  • https://www.googleapis.com/auth/chat.users.readstate.readonly
  • https://www.googleapis.com/auth/chat.users.readstate
Declaration
public bool Read { get; set; }
Property Value
Type Description
bool

SpaceMuteSetting

The mute setting of the calling user for the space where the message is posted. The caller app can use this information to decide how to process the message depending on whether the space is muted for the user or not.

Only returned if the request view is SEARCH_MESSAGES_VIEW_FULL and the calling credentials include the following authorization scope:

  • https://www.googleapis.com/auth/chat.users.spacesettings
Declaration
public SpaceNotificationSetting.Types.MuteSetting SpaceMuteSetting { get; set; }
Property Value
Type Description
SpaceNotificationSetting.Types.MuteSetting
In this article
Back to top Generated by DocFX