public static class TdApi.MessageSponsor extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
info
Additional optional information about the sponsor to be shown along with the message.
|
TdApi.Photo |
photo
Photo of the sponsor; may be null if must not be shown.
|
java.lang.String |
url
URL of the sponsor to be opened when the message is clicked.
|
| Constructor and Description |
|---|
MessageSponsor()
Information about the sponsor of a message.
|
MessageSponsor(java.lang.String url,
TdApi.Photo photo,
java.lang.String info)
Information about the sponsor of a message.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String url
public TdApi.Photo photo
public java.lang.String info
public static final int CONSTRUCTOR
public MessageSponsor()
public MessageSponsor(java.lang.String url,
TdApi.Photo photo,
java.lang.String info)
url - URL of the sponsor to be opened when the message is clicked.photo - Photo of the sponsor; may be null if must not be shown.info - Additional optional information about the sponsor to be shown along with the message.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object