View Source Telegex.Instance (Telegex v1.2.1)

Independent configuration and information for bot instances.

Note: This module is not officially implemented at the moment, reserved for multi-instance support.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec get_me() :: {:ok, Telegex.Type.User.t()} | {:error, Telegex.Type.error()}
@spec me() :: Telegex.Type.User.t()
@spec token() :: String.t()