GithubHelp home page GithubHelp logo

linelix's Introduction

Linelix

Elixir LINE Bot wrapper using Elixir

Installation

Add linelix to your list of dependencies in mix.exs:

def deps do
  [
    {:linelix, "~> 0.1.0", git: "https://github.com/abrampers/linelix.git"}
  ]
end

Then get dependencies

$ mix deps.get

Add :linelix to your :applications list to start :httpoison and :poison automatically.

Configuration

Add your Telegram Bot API token to config/config.exs

config :linelix,
  token: "<PUT_TOKEN_HERE>"

Progress

LINE API

Event Objects

  • Message event
  • Follow event
  • Unfollow event
  • Join event
  • Leave event
  • Postback event
  • Beacon event

Messaging

  • Send reply message
  • Send push message
  • Send multicast messages
  • Get content
Message objects
  • Text
  • Sticker
  • Image
  • Video
  • Audio
  • Location
  • Imagemap message
  • Template messages

Profile

  • Get profile

Group

  • Get group member profile
  • Get group member user IDs
  • Leave group

Room

  • Get room member profile
  • Get room member user IDs
  • Leave room

Rich menu

  • Get rich menu
  • Create rich menu
  • Delete rich menu
  • Get rich menu ID of user
  • Link rich menu to user
  • Unlink rich menu from user
  • Download rich menu image
  • Upload rich menu image
  • Get rich menu list

Format response

  • Map response to model

Fix config

  • Remove config, set to mix-able

linelix's People

Contributors

abrampers avatar

Stargazers

Warut Surapat avatar Donald (Ryo Nakatani) avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.