Sha256: 50fd2cfdd9f6a5606874d4762ad1d387366208e1baba1e2004029becb74e0ac3
Contents?: true
Size: 1 KB
Versions: 3
Compression:
Stored size: 1 KB
Contents
module Telegram module Bot module Types class Message < Base attribute :message_id, Integer attribute :from, User attribute :date, Integer attribute :forward_from, User attribute :forward_date, Integer attribute :reply_to_message, Message attribute :text, String attribute :audio, Audio attribute :document, Document attribute :photo, Array[PhotoSize] attribute :sticker, Sticker attribute :video, Video attribute :voice, Voice attribute :caption, String attribute :contact, Contact attribute :location, Location attribute :new_chat_participant, User attribute :left_chat_participant, User attribute :new_chat_title, String attribute :new_chat_photo, Array[PhotoSize] attribute :delete_chat_photo, Boolean attribute :group_chat_created, Boolean attribute :chat, Chat alias_method :to_s, :text end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
telegram-bot-ruby-0.4.2 | lib/telegram/bot/types/message.rb |
telegram-bot-ruby-0.4.1 | lib/telegram/bot/types/message.rb |
telegram-bot-ruby-0.4.0 | lib/telegram/bot/types/message.rb |