ExLineWrapper v0.1.4 ExLineWrapper View Source

Documentation for ExLineWrapper.

Link to this section Summary

Link to this section Functions

Link to this function

authenticate(channel_id, channel_secret) View Source

Acquire access token

Examples

iex> ExLineWrapper.authenticate("channel_id", "channel_secret")
{:ok, %{"access_token" => "xxxxxx"}}
Link to this function

reply(message, reply_token, access_token) View Source

Reply a message

Examples

iex > ExLineWrapper.reply("message", "reply_token", "access_token")
{:ok}