Transport contract for Discord API operations.
Summary
Types
Callbacks
@callback fetch_channel_messages(channel_id :: String.t() | integer(), opts :: keyword()) :: api_result()
@callback fetch_messages(channel_id :: String.t() | integer(), opts :: keyword()) :: api_result()
@callback fetch_metadata(channel_id :: String.t() | integer(), opts :: keyword()) :: api_result()
@callback fetch_thread(channel_id :: String.t() | integer(), opts :: keyword()) :: api_result()
@callback list_threads(channel_id :: String.t() | integer(), opts :: keyword()) :: api_result()
@callback send_message( channel_id :: String.t() | integer(), text :: String.t(), opts :: keyword() ) :: api_result()
@callback start_typing(channel_id :: String.t() | integer(), opts :: keyword()) :: api_result()