Sha256: b85d68d84fe5f6afe6e08e4216ee2ae7ea570fccb222010c5cca81de8129e239
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 KB
Contents
module Telegram module Bot module Types class Message < Base attribute :message_id, Integer attribute :from, User attribute :date, Integer attribute :chat, Chat attribute :forward_from, User attribute :forward_from_chat, Chat attribute :forward_from_message_id, Integer attribute :forward_signature, String attribute :forward_date, Integer attribute :reply_to_message, Message attribute :edit_date, Integer attribute :author_signature, String attribute :text, String attribute :entities, Array[MessageEntity] attribute :caption_entities, Array[MessageEntity] attribute :audio, Audio attribute :document, Document attribute :game, Game attribute :photo, Array[PhotoSize] attribute :sticker, Sticker attribute :video, Video attribute :voice, Voice attribute :video_note, VideoNote attribute :caption, String attribute :contact, Contact attribute :location, Location attribute :venue, Venue attribute :new_chat_members, Array[User] attribute :left_chat_member, User attribute :new_chat_title, String attribute :new_chat_photo, Array[PhotoSize] attribute :delete_chat_photo, Boolean attribute :group_chat_created, Boolean attribute :supergroup_chat_created, Boolean attribute :channel_chat_created, Boolean attribute :migrate_to_chat_id, Integer attribute :migrate_from_chat_id, Integer attribute :pinned_message, Message attribute :invoice, Invoice attribute :successful_payment, SuccessfulPayment attribute :connected_website, String attribute :passport_data, PassportData alias to_s text end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dialog_bot_ruby-0.8.8 | lib/telegram/bot/types/message.rb |
dialog_bot_ruby-0.8.7 | lib/telegram/bot/types/message.rb |