class Telegraphist::Model::Message
Attributes
audio[RW]
chat[RW]
contact[RW]
date[RW]
delete_chat_photo[RW]
document[RW]
forward_date[RW]
forward_from[RW]
from[RW]
group_chat_created[RW]
left_chat_participant[RW]
location[RW]
message_id[RW]
new_chat_participant[RW]
new_chat_photo[RW]
new_chat_title[RW]
photo[RW]
reply_to_message[RW]
sticker[RW]
text[RW]
video[RW]
Public Instance Methods
chat=(options={})
click to toggle source
# File lib/telegraphist/model/message.rb, line 11 def chat=(options={}) @chat = if options['title'] GroupChat.new(options) else User.new(options) end end
from=(options={})
click to toggle source
# File lib/telegraphist/model/message.rb, line 7 def from=(options={}) @from = User.new(options) end