Uses of Class
org.drinkless.tdlib.TdApi.BackgroundType
Packages that use TdApi.BackgroundType
-
Uses of TdApi.BackgroundType in org.drinkless.tdlib
Subclasses of TdApi.BackgroundType in org.drinkless.tdlibModifier and TypeClassDescriptionstatic class
A background from a chat theme; can be used only as a chat background in channels.static class
A filled background.static class
A PNG or TGV (gzipped subset of SVG with MIME type "application/x-tgwallpattern") pattern to be combined with the background fill chosen by the user.static class
A wallpaper in JPEG format.Fields in org.drinkless.tdlib declared as TdApi.BackgroundTypeModifier and TypeFieldDescriptionTdApi.LinkPreviewTypeBackground.backgroundType
Type of the background; may be null if unknown.TdApi.Background.type
Type of the background.TdApi.GetBackgroundUrl.type
Background type; backgroundTypeChatTheme isn't supported.TdApi.SetChatBackground.type
Background type; pass null to use default background type for the chosen background; backgroundTypeChatTheme isn't supported for private and secret chats.TdApi.SetDefaultBackground.type
Background type; pass null to use the default type of the remote background; backgroundTypeChatTheme isn't supported.Constructors in org.drinkless.tdlib with parameters of type TdApi.BackgroundTypeModifierConstructorDescriptionBackground
(long id, boolean isDefault, boolean isDark, String name, TdApi.Document document, TdApi.BackgroundType type) Describes a chat background.GetBackgroundUrl
(String name, TdApi.BackgroundType type) Creates a function, which constructs a persistent HTTP URL for a background.LinkPreviewTypeBackground
(TdApi.Document document, TdApi.BackgroundType backgroundType) The link is a link to a background.SetChatBackground
(long chatId, TdApi.InputBackground background, TdApi.BackgroundType type, int darkThemeDimming, boolean onlyForSelf) Creates a function, which sets the background in a specific chat.SetDefaultBackground
(TdApi.InputBackground background, TdApi.BackgroundType type, boolean forDarkTheme) Creates a function, which sets default background for chats; adds the background to the list of installed backgrounds.