Commit graph

7 commits

Author SHA1 Message Date
Andres G. Aragoneses 8766824b8b Tests: reenable SendMessageByUserName
Also changing messages in other test to differentiate their origin.
2020-09-20 17:56:31 +08:00
Andres G. Aragoneses 5f62ccf7e3 Core,Tests: fix SendUploadedPhoto
It got broken in one [1] of the LayerUpdate PR [2]
commits because TLInputMediaUploadedPhoto's [3]
Caption property was dropped, but somehow the
replacement of it is now TLRequestSendMedia's [4]
Message property.

[1] 07c4812e99
[2] https://github.com/nblockchain/TgSharp/pull/13
[3] 07c4812e99 (diff-8fc2b6f90844589a5a85c31971236c6a)
[4] 07c4812e99 (diff-6579e69beaef1ce3efce20d9f9a087ea)
2020-09-20 16:59:01 +08:00
Andres Aragoneses cec35c6004 Run tests in CI (Windows OS only for now)
The reason for such a hack when runing in CI is because we
need to make sure we're using higher sequence numbers than
any previous times (and even previous runs of the test suite).

And we run 1 test only for now, later we will enable more.

Other notes:

The trick to extract secrets to files was taken from:
https://stackoverflow.com/a/59482124/544947

The binary-to-text encoding/decoding was taken from:
https://stackoverflow.com/a/42725926/544947

The way to add defines to DefineConstants for MSBuild:
https://stackoverflow.com/a/5053070/544947
2020-09-19 17:00:34 +08:00
Andres G. Aragoneses d4a4c66d35 Rename TeleSharp.TL->TgSharp.TL (2/5) 2020-09-11 17:15:25 +08:00
Afshin Arani 07c4812e99 api: Update to Layer 108 2020-09-11 17:14:18 +08:00
Afshin Arani 3bde55ed1e Upgrade from .NET4.5 to .NET4.6
Because we might use dependencies soon that require this framework.
And anyway these days the .NET world is mostly a hybrid between
.NETStandard/.NETCore libs and .NET4.6 ones, not older than that.

(This commit was brought from TLSharp [1] version 0.1.0.522.)

[1] 709e5be7cc
2020-04-05 20:03:16 +08:00
Andres G. Aragoneses 932a733197
Finish TLSharp -> TgSharp rename (#1) 2020-04-02 16:37:22 +08:00