teleproto - v1.229.0
    Preparing search index...

    Interface MessagesTranslateTextParams

    interface MessagesTranslateTextParams {
        id?: number[];
        peer?: EntityLike;
        text?: TextWithEntitiesIn[];
        toLang: string;
        tone?: string;
    }
    Index
    id?: number[]

    A list of message IDs to translate

    peer?: EntityLike

    If the text is a chat message, the peer ID

    A list of styled messages to translate

    toLang: string

    Two-letter ISO 639-1 language code of the language to which the message is translated

    tone?: string