# Uses of Class
it.tdlight.jni.TdApi.ThemeParameters

## Uses of TdApi.ThemeParameters in it.tdlight.jni

Fields in it.tdlight.jni declared as TdApi.ThemeParameters
Modifier and Type
Field
Description
`TdApi.ThemeParameters`
TdApi.GetPaymentForm.`theme`
Preferred payment form theme; pass null to use the default theme.
`TdApi.ThemeParameters`
TdApi.GetThemeParametersJsonString.`theme`
Theme parameters to convert to JSON.
`TdApi.ThemeParameters`
TdApi.GetWebAppLinkUrl.`theme`
Preferred Web App theme; pass null to use the default theme.
`TdApi.ThemeParameters`
TdApi.GetWebAppUrl.`theme`
Preferred Web App theme; pass null to use the default theme.
`TdApi.ThemeParameters`
TdApi.OpenWebApp.`theme`
Preferred Web App theme; pass null to use the default theme.
Constructors in it.tdlight.jni with parameters of type TdApi.ThemeParameters
Modifier
Constructor
Description
``
`GetPaymentForm(TdApi.InputInvoice inputInvoice, TdApi.ThemeParameters theme)`
Returns an invoice payment form.
``
`GetThemeParametersJsonString(TdApi.ThemeParameters theme)`
Converts a themeParameters object to corresponding JSON-serialized string.
``
`GetWebAppLinkUrl(long chatId, long botUserId, String webAppShortName, String startParameter, TdApi.ThemeParameters theme, String applicationName, boolean allowWriteAccess)`
Returns an HTTPS URL of a Web App to open after a link of the type internalLinkTypeWebApp is clicked.
``
`GetWebAppUrl(long botUserId, String url, TdApi.ThemeParameters theme, String applicationName)`
Returns an HTTPS URL of a Web App to open from the side menu, a keyboardButtonTypeWebApp button, an inlineQueryResultsButtonTypeWebApp button, or an internalLinkTypeSideMenuBot link.
``
`OpenWebApp(long chatId, long botUserId, String url, TdApi.ThemeParameters theme, String applicationName, long messageThreadId, TdApi.InputMessageReplyTo replyTo)`
Informs TDLib that a Web App is being opened from the attachment menu, a botMenuButton button, an internalLinkTypeAttachmentMenuBot link, or an inlineKeyboardButtonTypeWebApp button.