ex_gram
ex_gram copied to clipboard
Telegram Bot API low level API and framework
Just figured out that even if we do not add `command()` at top, we can use a command as a string, not an atom. So, I thought an example would...
Hello, ### Objective: To make `send_poll` pipe-able I am trying to make following changes to library. so I want to use it like `context |> answer('anyhting') |> send_poll(id,"question",['1','2'],type:"quiz",correct_option_id: 0) `...
### Aim : when user sends `/sum 4+5` bot should be able to reply with two messages 1. answer to the present question (9) 2. send a string "do you...
Will you be willing to take up a better documentation on lines of https://github.com/dwyl/elixir-auth-google I love how above mentioned repo answers all basic questions like what why who how when...
https://github.com/rockneurotiko/ex_gram/blob/master/lib/ex_gram/middleware/ignore_username.ex#L28 Another way to write this is : ``` defp clean_command("/" text, username) do String.split(text, "@") |> List.first() end ``` This handles both the cases of `text` being `/command@username` and...
Create documentation: - [ ] General framework usage - [ ] Middlewares - [ ] Use multiple bots - [ ] Tips & Tricks ?
As a newbie to Elixir, I realised the `README.md` could be organised better - changing the ordering of few sections + highlighting few more things. Shall I send a pull...
Is it possible to set hackney options?