Chatwork GetMessage


Author: Taiki Shimasaki


Description

Chatwork is a group communication application mostly used in Japan. This plugin accesses Chatwork accounts and extracts messages.

日本語のヘルプはこちらをクリック



Prerequisite

 







Need help?

Technical contact to tech@argos-labs.com


May you search all operations,




Required Input

  • API Token
  • Chat Room ID
  • l  Number of messages to retrieve



Optional Input

  • Key Name
    • When Key Name is not specified the output is in JSON format. By specifying the Key Name values, you can selectively extract contents within JSON
    • Key Names are

①  message_id

②  account

③  body

④  send_time

⑤  update_time

  • Target
    • Last 100 messages: outputs 100 latest messages
    • Since last time: outputs only the new messages from the last access



Output/Return Value

  • JSON output for String, CSV, and File
    • When multiple messages are included line change is added at the end of one message ID. Likewise, multiple lines are returned when Key Names are specified.



Result Codes

  • 0 for successful execution
  • 1 for all non-successful execution



(정보)日本語のヘルプはこちらをクリック



How to set parameters




  • API Token: Enter API Token
  • Room ID: Enter Chatwork’s Room ID
  • Num of Output: Enter how many messages that you want to retrieve
  • Key Name: Enter Key Name from the JSON
  • Target: You can choose to retrieve 100 messages or only the new messages from the previous checking
  • Result Type: Return Value returns JSON
  • Success code Action: Execution Return code is 0 for success and 1 for failure