Sha256: ffca4f01eca27a44e2336ebb7801e9569b752bf083668fba43adbe93020ad6f4

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class MessageOriginChat < Base
        attribute :type, Types::String.constrained(eql: 'chat').default('chat')
        attribute :date, Types::Integer
        attribute :sender_chat, Chat
        attribute? :author_signature, Types::String
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/message_origin_chat.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/message_origin_chat.rb