aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-07-06 23:05:07 +0300
committerlevlam <levlam@telegram.org>2024-07-06 23:05:07 +0300
commitbedbd6e0072658411164419edcb84fb2b5aa3206 (patch)
tree813df1302aea306d29d9cfd5d930e17fd45fe2c1
parent203591d295381c046f169183bd0cf2c6e92fdbcb (diff)
Minor improvements.
-rw-r--r--td/generate/scheme/td_api.tl6
-rw-r--r--td/telegram/ThemeManager.h1
2 files changed, 3 insertions, 4 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl
index f61d0b4f7..0ea799c4a 100644
--- a/td/generate/scheme/td_api.tl
+++ b/td/generate/scheme/td_api.tl
@@ -2570,7 +2570,7 @@ linkPreviewAlbumMediaPhoto photo:photo = LinkPreviewAlbumMedia;
linkPreviewAlbumMediaVideo video:video = LinkPreviewAlbumMedia;
-//@class LinkPreviewType @description Describes type of a link preview
+//@class LinkPreviewType @description Describes type of link preview
//@description The link is a link to a media album consisting of photos and videos @media The list of album media @caption Album caption
linkPreviewTypeAlbum media:vector<LinkPreviewAlbumMedia> caption:string = LinkPreviewType;
@@ -2587,7 +2587,7 @@ linkPreviewTypeArticle photo:photo author:string = LinkPreviewType;
//@description The link is a link to an audio
//@url URL of the audio; may be empty if none
//@mime_type MIME type of the audio file
-//@audio Description of the audio; may be null if unknown
+//@audio The audio description; may be null if unknown
//@duration Duration of the audio, in seconds; 0 if unknown
//@author Author of the audio
linkPreviewTypeAudio url:string mime_type:string audio:audio duration:int32 author:string = LinkPreviewType;
@@ -2660,7 +2660,7 @@ linkPreviewTypeUser photo:chatPhoto is_bot:Bool = LinkPreviewType;
//@description The link is a link to a video
//@url URL of the video; may be empty if none
//@mime_type MIME type of the video file
-//@video Description of the video; may be null if unknown
+//@video The video description; may be null if unknown
//@width Expected width of the preview
//@height Expected height of the preview
//@duration Duration of the video, in seconds; 0 if unknown
diff --git a/td/telegram/ThemeManager.h b/td/telegram/ThemeManager.h
index 529e26832..333e47ba0 100644
--- a/td/telegram/ThemeManager.h
+++ b/td/telegram/ThemeManager.h
@@ -7,7 +7,6 @@
#pragma once
#include "td/telegram/AccentColorId.h"
-#include "td/telegram/BaseTheme.h"
#include "td/telegram/td_api.h"
#include "td/telegram/telegram_api.h"
#include "td/telegram/ThemeSettings.h"