teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSendMediaParams

    interface MessagesSendMediaParams {
        allowPaidFloodskip?: boolean;
        allowPaidStars?: BigInteger;
        background?: boolean;
        clearDraft?: boolean;
        effect?: BigInteger;
        entities?: TypeMessageEntityIn[];
        invertMedia?: boolean;
        media: TypeInputMediaIn;
        message: string;
        noforwards?: boolean;
        peer: EntityLike;
        quickReplyShortcut?: TypeInputQuickReplyShortcutIn;
        randomId?: BigInteger;
        replyMarkup?: TypeReplyMarkupIn;
        replyTo?: TypeInputReplyToIn;
        scheduleDate?: number;
        scheduleRepeatPeriod?: number;
        sendAs?: EntityLike;
        silent?: boolean;
        suggestedPost?: SuggestedPostIn;
        updateStickersetsOrder?: boolean;
    }
    Index
    allowPaidFloodskip?: boolean

    Bots only: if set, allows sending up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message. The relevant Stars will be withdrawn from the bot's balance.

    allowPaidStars?: BigInteger

    For paid messages » , specifies the amount of Telegram Stars the user has agreed to pay in order to send the message.

    background?: boolean

    Send message in background

    clearDraft?: boolean

    Clear the draft

    effect?: BigInteger

    Specifies a message effect » to use for the message.

    entities?: TypeMessageEntityIn[]

    Message entities for styled text

    invertMedia?: boolean

    If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.

    Attached media

    message: string

    Caption

    noforwards?: boolean

    Only for bots, disallows forwarding and saving of the messages, even if the destination chat doesn't have content protection enabled

    peer: EntityLike

    Destination

    quickReplyShortcut?: TypeInputQuickReplyShortcutIn

    Add the message to the specified quick reply shortcut » , instead.

    randomId?: BigInteger

    Random ID to avoid resending the same message

    replyMarkup?: TypeReplyMarkupIn

    Reply markup for bot keyboards

    If set, indicates that the message should be sent in reply to the specified message or story.

    scheduleDate?: number

    Scheduled message date for scheduled messages

    scheduleRepeatPeriod?: number
    sendAs?: EntityLike

    Send this message as the specified peer

    silent?: boolean

    Send message silently (no notification should be triggered)

    suggestedPost?: SuggestedPostIn

    Used to suggest a post to a channel, see here » for more info on the full flow.

    updateStickersetsOrder?: boolean

    Whether to move used stickersets to top, see here for more info on this flag »