content
Content of the message. Currently,
can be only of the type messageText.
static final int
int
long
SponsoredMessage(int id,
long sponsorChatId,
TdApi.InternalLinkType link,
TdApi.MessageContent content)
SponsoredMessage(DataInput input)
serialize, toString
id
- int Unique sponsored message identifier.sponsorChatId
- long Chat identifier.link
- InternalLinkType An internal link to be opened when
the sponsored message is clicked; may
be null. If null, the sponsor chat
needs to be opened instead.content
- MessageContent Content of the message. Currently,
can be only of the type messageText.IOException
getConstructor
in class TdApi.Object
serialize
in class TdApi.Object
IOException