o
    "h
                     @   s6   d Z ddlmZ G dd deZdedefddZd	S )
a&  This module contains a helper functions related to string manipulation.

Warning:
    Contents of this module are intended to be used internally by the library and *not* by the
    user. Changes to this module are not considered breaking changes and may not be documented in
    the changelog.
    )
StringEnumc                   @   s   e Zd ZdZdZdZdZdS )TextEncodingzNThis enum contains encoding schemes for text.

    .. versionadded:: 21.5
     zutf-8z	utf-16-leN)__name__
__module____qualname____doc__	__slots__UTF_8	UTF_16_LEr   r   r   J/var/www/html/venv/lib/python3.10/site-packages/telegram/_utils/strings.pyr   !   s
    r   	snake_strreturnc                 C   s.   |  d}|d ddd |dd D  S )zConverts a snake_case string to camelCase.

    Args:
        snake_str (:obj:`str`): The string to convert.

    Returns:
        :obj:`str`: The converted string.
    _r    c                 s   s    | ]}|  V  qd S )N)title).0xr   r   r   	<genexpr>7   s    z to_camel_case.<locals>.<genexpr>   N)splitjoin)r   
componentsr   r   r   to_camel_case-   s   
	$r   N)r   telegram._utils.enumr   r   strr   r   r   r   r   <module>   s   