class Telegram::Bot::Types::ChatMember
Attributes
can_add_web_page_previews[RW]
can_be_edited[RW]
can_change_info[RW]
can_delete_messages[RW]
can_edit_messages[RW]
can_invite_users[RW]
can_pin_messages[RW]
can_post_messages[RW]
can_promote_members[RW]
can_restrict_members[RW]
can_send_media_messages[RW]
can_send_messages[RW]
can_send_other_messages[RW]
status[RW]
until_date[RW]
user[RW]
Public Class Methods
new(attributes)
click to toggle source
# File lib/telegram/bot/types/chat_member.rb, line 20 def initialize(attributes) attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k } end
Public Instance Methods
user=(attributes)
click to toggle source
# File lib/telegram/bot/types/chat_member.rb, line 24 def user=(attributes) @user = User.new(attributes) end