Sha256: 574176686b0f7d2d6dc019cd721c35f3ee2bb9ee42da356b23a142f0735f97e6

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 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
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/chat_invite_link.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/chat_invite_link.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/chat_invite_link.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/chat_invite_link.rb