teleproto - v1.229.0
    Preparing search index...

    Interface MessagesSendMessageParams

    interface MessagesSendMessageParams {
        allowPaidFloodskip?: boolean;
        allowPaidStars?: BigInteger;
        background?: boolean;
        clearDraft?: boolean;
        effect?: BigInteger;
        entities?: TypeMessageEntityIn[];
        invertMedia?: boolean;
        message: string;
        noforwards?: boolean;
        noWebpage?: boolean;
        peer: EntityLike;
        quickReplyShortcut?: TypeInputQuickReplyShortcutIn;
        randomId?: BigInteger;
        replyMarkup?: TypeReplyMarkupIn;
        replyTo?: TypeInputReplyToIn;
        richMessage?: TypeInputRichMessageIn;
        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 this message as background message

    clearDraft?: boolean

    Clear the draft field

    effect?: BigInteger

    Specifies a message effect » to use for the message.

    entities?: TypeMessageEntityIn[]

    Message entities for sending styled text

    invertMedia?: boolean

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

    message: string

    The message

    noforwards?: boolean

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

    noWebpage?: boolean

    Set this flag to disable generation of the webpage preview

    peer: EntityLike

    The destination where the message will be sent

    quickReplyShortcut?: TypeInputQuickReplyShortcutIn

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

    randomId?: BigInteger

    Unique client message ID required to prevent message resending

    replyMarkup?: TypeReplyMarkupIn

    Reply markup for sending bot buttons

    If set, indicates that the message should be sent in reply to the specified message or story. Also used to quote other messages.

    scheduleDate?: number

    Scheduled message date for scheduled messages

    scheduleRepeatPeriod?: number
    sendAs?: EntityLike

    Send this message as the specified peer

    silent?: boolean

    Send this message silently (no notifications for the receivers)

    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 »