Ybrin/chatbot_helper-telegram

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

Summary

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

        def optional_fields
          %w[selective]
        end
      end
    end
  end
end