td
td copied to clipboard
Telegram client, in Go. (MTProto API)
### Description It would be very helpful if we add some E2E/platform-specific workflow to check WASM support using Chrome. ### References https://github.com/agnivade/wasmbrowsertest
On new tag, following protocol should be executed: 1. PR to [gotd/bot](https://github.com/gotd/bot) is created with version bump 2. When (1) pipeline is green, (1) is merged to `main` branch 3....
https://core.telegram.org/mtproto/service_messages ## Service Messages - [x] [Response to an RPC query](https://core.telegram.org/mtproto/service_messages#response-to-an-rpc-query) - [x] [RPC Error](https://core.telegram.org/mtproto/service_messages#rpc-error) - [x] [Cancellation of an RPC](https://core.telegram.org/mtproto/service_messages#cancellation-of-an-rpc-query) - [x] [Request for several future salts](https://core.telegram.org/mtproto/service_messages#request-for-several-future-salts) - [x]...
Meta-issue for tdesktop support on server and protocol. - [tdesktop fork](https://github.com/gotd/tdesktop) patched for localhost and test private key - [teled](https://github.com/gotd/teled), server based on tgtest ```cpp int TcpConnection::Protocol::Version0::readPacketLength( bytes::const_span bytes) const...
There can be no `key_data` in latest tdesktop format cc: @tdakkota
Sometimes telegram uses error names like `FOO_BAR_%d` or `BAZ_%dmin`. We should provide error comparison and argument extraction helpers. Currently I've implemented hack in #823 to just skip placeholder parts.
Automatic compute part size for big files ### Description At this moment, if you send a large file (1gb+) with uploader default settings, we will get error upload part: send...
### Description Containerizing small messages (< 8192 bytes) gives a perfomance improvment. Since most of requests and service messages like ACKs are quite small, `mtproto.Conn` may have a buffer, which...
### Description PR #374 removed mapping for `Photo -> InputPhotoFileLocation` due to `InputPhotoFileLocation` requires `ThumbSize` field. But `gotdgen` can generate mapping like `AsInputPhotoFileLocation(thumbSize string) *tg.InputPhotoFileLocation`, where `thumbSize` passed by user....
If you are using **gotd**, add a comment with your company name, URL & logo and we will add it to the Readme. Thank you!