Reference documentation and code samples for the Google Chat V1 API class Google::Apps::Chat::V1::Reaction.
A reaction to a message.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#emoji
def emoji() -> ::Google::Apps::Chat::V1::Emoji
Returns
- (::Google::Apps::Chat::V1::Emoji) — The emoji used in the reaction.
#emoji=
def emoji=(value) -> ::Google::Apps::Chat::V1::Emoji
Parameter
- value (::Google::Apps::Chat::V1::Emoji) — The emoji used in the reaction.
Returns
- (::Google::Apps::Chat::V1::Emoji) — The emoji used in the reaction.
#name
def name() -> ::String
Returns
-
(::String) — The resource name of the reaction.
Format:
spaces/{space}/messages/{message}/reactions/{reaction}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The resource name of the reaction.
Format:
spaces/{space}/messages/{message}/reactions/{reaction}
Returns
-
(::String) — The resource name of the reaction.
Format:
spaces/{space}/messages/{message}/reactions/{reaction}
#user
def user() -> ::Google::Apps::Chat::V1::User
Returns
- (::Google::Apps::Chat::V1::User) — Output only. The user who created the reaction.