public static class TdApi.GetStarAdAccountUrl extends TdApi.Function<TdApi.HttpUrl>
Returns HttpUrl
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.MessageSender |
ownerId
Identifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat.
|
| Constructor and Description |
|---|
GetStarAdAccountUrl()
Default constructor for a function, which returns a URL for a Telegram Ad platform account that can be used to set up advertisements for the chat paid in the owned Telegram Stars.
|
GetStarAdAccountUrl(TdApi.MessageSender ownerId)
Creates a function, which returns a URL for a Telegram Ad platform account that can be used to set up advertisements for the chat paid in the owned Telegram Stars.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.MessageSender ownerId
public static final int CONSTRUCTOR
public GetStarAdAccountUrl()
Returns HttpUrl
public GetStarAdAccountUrl(TdApi.MessageSender ownerId)
Returns HttpUrl
ownerId - Identifier of the owner of the Telegram Stars; can be identifier of an owned bot, or identifier of an owned channel chat.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object