tg_client v0.3.0 TgClient.Connection

Connection with Telegram-CLI TCP server.

Summary

Functions

Starts connection with socket_path

Types

state :: %TgClient.Connection.State{failure_count: non_neg_integer, socket: port | nil, socket_path: String.t}

Functions

start_link(socket_path)

Specs

start_link(non_neg_integer) :: GenServer.on_start

Starts connection with socket_path