ex_gram
v0.32.0
Pages
Modules
Mix Tasks
ExGram.Dsl
(ex_gram v0.32.0)
View Source
Mini DSL to build answers based on the context easily.
Link to this section
Summary
Functions
answer(cnt, text, ops \\ [])
answer(cnt, m, text, ops)
answer_callback(cnt, msg, ops \\ [])
answer_document(cnt, document, ops \\ [])
answer_document(cnt, msg, document, ops)
answer_inline_query(cnt, articles, ops \\ [])
create_inline(data \\ [[]])
create_inline_button(row)
delete(cnt, msg, ops \\ [])
edit(cnt, atom, text)
edit(cnt, atom, text, ops)
edit(cnt, arg2, m, text, ops)
extract_callback_id(cid)
extract_group(arg1)
extract_id(u)
extract_inline_id_params(m)
extract_message_id(arg1)
extract_response_id(map)
extract_user(arg1)
send_answers(cnt)
Link to this section
Functions
Link to this function
answer(cnt, text, ops \\ [])
View Source
Link to this function
answer(cnt, m, text, ops)
View Source
Link to this function
answer_callback(cnt, msg, ops \\ [])
View Source
Link to this function
answer_document(cnt, document, ops \\ [])
View Source
Link to this function
answer_document(cnt, msg, document, ops)
View Source
Link to this function
answer_inline_query(cnt, articles, ops \\ [])
View Source
Link to this function
create_inline(data \\ [[]])
View Source
Link to this function
create_inline_button(row)
View Source
Link to this function
delete(cnt, msg, ops \\ [])
View Source
Link to this function
edit(cnt, atom, text)
View Source
Link to this function
edit(cnt, atom, text, ops)
View Source
Link to this function
edit(cnt, arg2, m, text, ops)
View Source
Link to this function
extract_callback_id(cid)
View Source
Link to this function
extract_group(arg1)
View Source
Link to this function
extract_id(u)
View Source
Link to this function
extract_inline_id_params(m)
View Source
Link to this function
extract_message_id(arg1)
View Source
Link to this function
extract_response_id(map)
View Source
Link to this function
extract_user(arg1)
View Source
Link to this function
send_answers(cnt)
View Source