class Telegram::Bot::Types::Chat

Attributes

all_members_are_administrators[RW]
can_set_sticker_set[RW]
description[RW]
first_name[RW]
id[RW]
last_name[RW]
photo[RW]
pinned_message[RW]
sticker_set_name[RW]
title[RW]
type[RW]
username[RW]

Public Class Methods

new(attributes) click to toggle source
# File lib/telegram/bot/types/chat.rb, line 17
def initialize(attributes)
  attributes.each { |k, v| self.send("#{k}=", v) if self.respond_to? k }
end

Public Instance Methods

photo=(attributes) click to toggle source
# File lib/telegram/bot/types/chat.rb, line 21
def photo=(attributes)
  @photo = ChatPhoto.new(attributes)
end