Packages

MTProto (Telegram) implementation for Elixir.

Retired package: Deprecated - This package is not maintained anymore.

Current section

Files

Jump to
telegram_mt lib mtproto api help.ex
Raw

lib/mtproto/api/help.ex

defmodule MTProto.API.Help do
@moduledoc """
@TODO
"""
@doc """
Returns info on data centre nearest to the user.
"""
def get_config do
TL.build("help.getConfig", %{})
end
@doc """
Returns current configuration, icluding data center configuration.
"""
def get_nearest_dc do
TL.build("help.getNearestDc",%{})
end
end