platypush/plugins/chat/telegram/__init__.py
def unban_chat_member(self, chat_id: Union[str, int],
                          user_id: int,
                          timeout: int = 20):
        """
        Lift the ban from a chat member.

        :param chat_id: Chat ID. Can be either a numerical ID or a unique identifier in the format ``@channelname``.
            In order to get your own Telegram chat_id open a conversation with
            `@IDBot <https://telegram.me/IDBot>`_ and type ``/start`` followed by ``/getid``. Similar procedures
            also exist to get a group or channel chat_id - just Google for "Telegram get channel/group chat_id".

        :param user_id: Unique user ID.
        :param timeout: Request timeout (default: 20 seconds)
        """

        telegram = self.get_telegram()
        telegram.bot.unban_chat_member(
            chat_id=chat_id,
            user_id=user_id,
            timeout=timeout)

        Lift the ban from a chat member.

        :param chat_id: Chat ID. Can be either a numerical ID or a unique identifier in the format ``@channelname``.
            In order to get your own Telegram chat_id open a conversation with
            `@IDBot <https://telegram.me/IDBot>`_ and type ``/start`` followed by ``/getid``. Similar procedures
            also exist to get a group or channel chat_id - just Google for "Telegram get channel/group chat_id".

        :param user_id: Unique user ID.
        :param timeout: Request timeout (default: 20 seconds)
        
Lift the ban from a chat member.
Lift the ban from a chat member .
def unban_chat_member(self, chat_id: Union[str, int],
                          user_id: int,
                          timeout: int = 20):
        telegram = self.get_telegram()
        telegram.bot.unban_chat_member(
            chat_id=chat_id,
            user_id=user_id,
            timeout=timeout)
def unban_chat_member ( self , chat_id : Union [ str , int ] , user_id : int , timeout : int = 20 ) : telegram = self . get_telegram ( ) telegram . bot . unban_chat_member ( chat_id = chat_id , user_id = user_id , timeout = timeout )
Lift the ban from a chat member.
Lift the ban from a chat member .
"""
        Lift the ban from a chat member.

        :param chat_id: Chat ID. Can be either a numerical ID or a unique identifier in the format ``@channelname``.
            In order to get your own Telegram chat_id open a conversation with
            `@IDBot <https://telegram.me/IDBot>`_ and type ``/start`` followed by ``/getid``. Similar procedures
            also exist to get a group or channel chat_id - just Google for "Telegram get channel/group chat_id".

        :param user_id: Unique user ID.
        :param timeout: Request timeout (default: 20 seconds)
        """
self
chat_id
Union[str, int]
Chat ID. Can be either a numerical ID or a unique identifier in the format ``@channelname``.
In order to get your own Telegram chat_id open a conversation with
`@IDBot `_ and type ``/start`` followed by ``/getid``. Similar procedures
also exist to get a group or channel chat_id - just Google for "Telegram get channel/group chat_id".
Chat ID . Can be either a numerical ID or a unique identifier in the format ` ` @channelname ` ` . In order to get your own Telegram chat_id open a conversation with ` @IDBot ` _ and type ` ` / start ` ` followed by ` ` / getid ` ` . Similar procedures also exist to get a group or channel chat_id - just Google for " Telegram get channel / group chat_id " .
user_id
int
Unique user ID.
Unique user ID .
timeout
int
Request timeout (default: 20 seconds)
Request timeout ( default : 20 seconds )