Interface PushMessageContentDocument

A document message (a general file). Subtype of PushMessageContent.

interface PushMessageContentDocument {
    @type: "pushMessageContentDocument";
    document: Document;
    is_pinned?: boolean;
}

Properties

@type: "pushMessageContentDocument"
document: Document

Message content; may be null.

is_pinned?: boolean

True, if the message is a pinned message with the specified content.