-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
126 changed files
with
2,359 additions
and
273 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
|
||
namespace TdLib | ||
{ | ||
/// <summary> | ||
/// Autogenerated TDLib APIs | ||
/// </summary> | ||
public partial class TdApi | ||
{ | ||
/// <summary> | ||
/// Returns an HTTP URL which can be used to automatically log in to the translation platform and suggest new emoji replacements. The URL will be valid for 30 seconds after generation | ||
/// </summary> | ||
public class GetEmojiSuggestionsUrl : Function<HttpUrl> | ||
{ | ||
/// <summary> | ||
/// Data type for serialization | ||
/// </summary> | ||
[JsonProperty("@type")] | ||
public override string DataType { get; set; } = "getEmojiSuggestionsUrl"; | ||
|
||
/// <summary> | ||
/// Extra data attached to the message | ||
/// </summary> | ||
[JsonProperty("@extra")] | ||
public override string Extra { get; set; } | ||
|
||
/// <summary> | ||
/// Language code for which the emoji replacements will be suggested | ||
/// </summary> | ||
[JsonConverter(typeof(Converter))] | ||
[JsonProperty("language_code")] | ||
public string LanguageCode { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
|
||
namespace TdLib | ||
{ | ||
/// <summary> | ||
/// Autogenerated TDLib APIs | ||
/// </summary> | ||
public partial class TdApi | ||
{ | ||
/// <summary> | ||
/// Returns information about a public or private message link | ||
/// </summary> | ||
public class GetMessageLinkInfo : Function<MessageLinkInfo> | ||
{ | ||
/// <summary> | ||
/// Data type for serialization | ||
/// </summary> | ||
[JsonProperty("@type")] | ||
public override string DataType { get; set; } = "getMessageLinkInfo"; | ||
|
||
/// <summary> | ||
/// Extra data attached to the message | ||
/// </summary> | ||
[JsonProperty("@extra")] | ||
public override string Extra { get; set; } | ||
|
||
/// <summary> | ||
/// The message link in the format "https://t.me/c/...", or "tg://privatepost?...", or "https://t.me/username/...", or "tg://resolve?..." | ||
/// </summary> | ||
[JsonConverter(typeof(Converter))] | ||
[JsonProperty("url")] | ||
public string Url { get; set; } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.