class Google::Apis::ChatV1::UserMentionMetadata

Annotation metadata for user mentions (@).

Attributes

type[RW]

The type of user mention. Corresponds to the JSON property `type` @return [String]

user[RW]

A user in Google Chat. Corresponds to the JSON property `user` @return [Google::Apis::ChatV1::User]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 2857
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chat_v1/classes.rb, line 2862
def update!(**args)
  @type = args[:type] if args.key?(:type)
  @user = args[:user] if args.key?(:user)
end