Search documentation of ex_gram
ex_gram
v0.50.1
Pages
Modules
Mix
Tasks
Settings
View Source
ExGram.Dsl
(ex_gram v0.50.1)
Mini DSL to build answers based on the context easily.
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_message_type(arg1)
extract_response_id(map)
extract_update_type(arg1)
extract_user(arg1)
send_answers(cnt)
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_message_type(arg1)
View Source
Link to this function
extract_response_id(map)
View Source
Link to this function
extract_update_type(arg1)
View Source
Link to this function
extract_user(arg1)
View Source
Link to this function
send_answers(cnt)
View Source