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
Functions
Post a message to the room.
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(access_token(), room(), binary(), ExIdobata.API.Query.format()) :: any()
Post a message to the room.
access_token
- An access token got byExIdobata.API.AccessToken.get/2
or its token stringroom
- One of room got by functionExIdobata.API.Room.get/1
or its room idmessage
- A message to be post to the roomformat
- A format of the message.:plain
(default),:markdown
or:html