tg_client v0.1.0 TgClient.Api.CommandHandler

Module for command accept, execute and handle its result.

Summary

Functions

Extract command, params and socket from options and execute command

Functions

handle_command(opts)

Specs

handle_command(Keyword.t) ::
  {:ok, String.t} |
  {:error, atom}

Extract command, params and socket from options and execute command