ex_idobata v0.3.0 ExIdobata.API

GraphQL API module.

See idobata public API.

To get an access token, request bellow.

curl https://idobata.io/oauth/token \
   -H "Content-type: application/json" \
   -d '{"grant_type":"password", "username":"EMAIL", "password":"PASSWORD" }'

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

post(access_token, room, message, format \\ :plain)

(since 0.2.0)

Post a message to the room.

  • access_token - An access token got by ExIdobata.API.AccessToken.get/2 or its token string
  • room - One of room got by function ExIdobata.API.Room.get/1 or its room id
  • message - A message to be post to the room
  • format - A format of the message. :plain (default), :markdown or :html