Interface MessageSponsor

Information about the sponsor of a message.

interface MessageSponsor {
    @type: "messageSponsor";
    info: string;
    photo: Photo;
    url: string;
}

Properties

Properties

@type: "messageSponsor"
info: string

Additional optional information about the sponsor to be shown along with the message.

photo: Photo

Photo of the sponsor; may be null if must not be shown.

url: string

URL of the sponsor to be opened when the message is clicked.