View Source Telegex.Caller behaviour (Telegex v1.8.0)

Unified call specification for Bot API.

Summary

Types

Callbacks

Link to this callback

call(t, keyword, keyword)

View Source
@callback call(String.t(), keyword(), keyword()) :: {:ok, any()} | {:error, error()}

Functions

Link to this function

call(method, params \\ [], opts \\ [])

View Source
@spec call(String.t(), keyword(), keyword()) :: {:ok, any()} | {:error, error()}