MTProto transport for Elixir 


MTProto (protocol) transport implementation in Elixir, acts like gen_tcp and others, supports most service commands.
TODO
- Tests, more testing;
- Add checks for numbers in DH algorithm;
- Checks for salts and nonce hashes during authorization;
- Data Center migration;
- Fix handling msg_seqno (?).
Installation
-
Add
mtprototo your list of dependencies inmix.exs:
def deps do
[{:mtproto, "~> 57.0.0-alpha"}]
end-
Ensure
mtprotois started before your application:
def application do
[applications: [:mtproto]]
endUsage
...
Contributing
- Fork it
-
Create your feature branch (
git checkout -b my-new-feature) -
Commit your changes (
git commit -am 'add some feature') -
Push to the branch (
git push origin my-new-feature) - Create new Pull Request