Current section

Files

Jump to
telegex priv api_template.ex.eex
Raw

priv/api_template.ex.eex

defmodule Telegex do
@moduledoc "All methods in the Bot API."
use Telegex.MethodDefiner
<%= for api <- @apis do %>
defmethod("<%= api.name %>", "<%= api.description %>", <%= api.parameters %>, <%= api.result_type %>)
<% end %>
end