atipugin/telegram-bot-ruby

View on GitHub
lib/telegram/bot/types/chat_member.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      ## Just for classes consistency
      # rubocop:disable Naming/ConstantName
      ChatMember = (
        ChatMemberAdministrator |
        ChatMemberBanned |
        ChatMemberLeft |
        ChatMemberMember |
        ChatMemberOwner |
        ChatMemberRestricted
      )
      # rubocop:enable Naming/ConstantName
    end
  end
end