class Google::Apis::YoutubeV3::LiveChatMemberMilestoneChatDetails

Attributes

member_level_name[RW]

The name of the Level at which the viever is a member. The Level names are defined by the YouTube channel offering the Membership. In some situations this field isn't filled. Corresponds to the JSON property `memberLevelName` @return [String]

member_month[RW]

The total amount of months (rounded up) the viewer has been a member that granted them this Member Milestone Chat. This is the same number of months as is being displayed to YouTube users. Corresponds to the JSON property `memberMonth` @return [Fixnum]

user_comment[RW]

The comment added by the member to this Member Milestone Chat. This field is empty for messages without a comment from the member. Corresponds to the JSON property `userComment` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 4090
def update!(**args)
  @member_level_name = args[:member_level_name] if args.key?(:member_level_name)
  @member_month = args[:member_month] if args.key?(:member_month)
  @user_comment = args[:user_comment] if args.key?(:user_comment)
end