Sha256: e772d7a39c8a39cf5efa0266c945f649999cee22e38cb63b7fe3f07857e25fd3

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatInviteLink < Base
        attribute :invite_link, Types::String
        attribute :creator, User
        attribute :creates_join_request, Types::Bool
        attribute :is_primary, Types::Bool
        attribute :is_revoked, Types::Bool
        attribute? :name, Types::String
        attribute? :expire_date, Types::Integer
        attribute? :member_limit, Types::Integer
        attribute? :pending_join_request_count, Types::Integer
        attribute? :subscription_period, Types::Integer
        attribute? :subscription_price, Types::Integer
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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