def send_chat_action(params)
      params_validation = {
        chat_id: { required: true, class: [Fixnum, String] },
        action: { required: true, class: [String] }
      }

      api_request('sendChatAction', params, params_validation)
    end
def send_chat_action(params)
      params_validation = {
        chat_id: { required: true, class: [Fixnum, String] },
        action: { required: true, class: [String] }
      }

      api_request('sendChatAction', params, params_validation)
    end
Sends a status action to a user or group chat.

 Used when you need to tell the user that something is happening on the bot's side. The status is set for 5 seconds or less (when a message arrives from your bot, Telegram clients clear its typing status).

 @param [Hash] params hash of paramers to send to the sendChatAction API operation.
 @option params [Integer,String] :chat_id Required. Unique identifier for the target chat or username of the target channel (in the format @channelusername).
 @option params [String] :action Required. Type of action to broadcast. Choose one, depending on what the user is about to receive: "typing" for text messages, "upload_photo" for photos, "record_video" or "upload_video" for videos, "record_audio" or "upload_audio" for audio files, "upload_document" for general files, "find_location" for location data.

 @example
     bot = Telegrammer::Bot.new('[YOUR TELEGRAM TOKEN]')
     bot.send_chat_action(chat_id: 123456789, action: "typing")

 @raise [Telegrammer::Errors::BadRequestError]
 @raise [Telegrammer::Errors::ServiceUnavailableError] if Telegram servers are down

 @return [Telegrammer::ApiResponse] Response from the API.