Ybrin/chatbot_helper-telegram

View on GitHub
lib/chatbot_helper/telegram/file.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ChatbotHelper
  module Telegram
    # The file resource which represents a Telegram bot API file
    class File < ChatbotHelper::Telegram::BaseResource
      class << self
        def required_fields
          %w[file_id]
        end

        def optional_fields
          %w[file_size file_path]
        end
      end
    end
  end
end