@@ -44,6 +44,7 @@ async def compose_text_with_ai(
4444 "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "he", "iw", "hi", "hmn", "hu", "is", "ig", "id", "in", "ga", "it", "ja", "jv", "kn", "kk", "km", "rw", "ko",
4545 "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",
4646 "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"
47+ Defaults to the client's language code.
4748
4849 style_name (``str``, *optional*):
4950 Name of the style of the resulted text.
@@ -54,9 +55,6 @@ async def compose_text_with_ai(
5455 Returns:
5556 :obj:`~pyrogram.types.FormattedText`: On success, information about the composed text is returned.
5657
57- Notes:
58- - If ``translate_to_language_code`` is None, the text will be processed using the client's default.
59-
6058 Example:
6159 .. code-block:: python
6260
0 commit comments