Sha256: a9e47eaab778b2b34380e8749e82aa8cfe3ebdf4ea985b873a0474fadf495a26

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class MessageOriginUser < Base
        attribute :type, Types::String.constrained(eql: 'user').default('user')
        attribute :date, Types::Integer
        attribute :sender_user, User
      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_user.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/message_origin_user.rb