Skip to content

Commit 3ee39e8

Browse files
authored
Update supported languages in translate_text.py
Updated the list of supported languages in the translate_text.py file.
1 parent 77f346c commit 3ee39e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrogram/methods/messages/translate_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async def translate_text(
4646
"ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "ny", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr",
4747
"st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tl", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "ji", "yo", "zu"
4848
Defaults to the client's language code.
49-
49+
5050
tone (``str``, *optional*):
5151
Tone of the translation.
5252
Must be one of "formal", "neutral", "casual".

0 commit comments

Comments
 (0)