Sha256: 8a7adf858b792f6a8eaf9a93c17f9397183ff25f1a1ec1e715193555e238b19b

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

3 entries across 3 versions & 1 rubygems

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