Class: TD::Types::PushMessageContent::ChatAddMembers

Inherits:
TD::Types::PushMessageContent show all
Defined in:
lib/tdlib/types/push_message_content/chat_add_members.rb

Overview

New chat members were invited to a group.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_current_userBoolean

True, if the current user was added to the group.

Returns:

  • (Boolean)

    the current value of is_current_user



7
8
9
# File 'lib/tdlib/types/push_message_content/chat_add_members.rb', line 7

def is_current_user
  @is_current_user
end

#is_returnedBoolean

True, if the user has returned to the group themself.

Returns:

  • (Boolean)

    the current value of is_returned



7
8
9
# File 'lib/tdlib/types/push_message_content/chat_add_members.rb', line 7

def is_returned
  @is_returned
end

#member_nameTD::Types::String

Name of the added member.

Returns:

  • (TD::Types::String)

    the current value of member_name



7
8
9
# File 'lib/tdlib/types/push_message_content/chat_add_members.rb', line 7

def member_name
  @member_name
end