fix line too long

This commit is contained in:
latan 2024-02-21 17:22:54 +02:00
parent e15ab4d285
commit 15fc7d3649

View file

@ -19,8 +19,8 @@ class WebAppChat(TelegramObject):
id: int id: int
"""Unique identifier for this chat. This number may have more than 32 significant bits """Unique identifier for this chat. This number may have more than 32 significant bits
and some programming languages may have difficulty/silent defects in interpreting it. and some programming languages may have difficulty/silent defects in interpreting it.
But it has at most 52 significant bits, so a signed 64-bit integer or double-precision float type But it has at most 52 significant bits, so a signed 64-bit integer or double-precision
are safe for storing this identifier.""" float type are safe for storing this identifier."""
type: str type: str
"""Type of chat, can be either “group”, “supergroup” or “channel”""" """Type of chat, can be either “group”, “supergroup” or “channel”"""
title: str title: str
@ -84,7 +84,8 @@ class WebAppInitData(TelegramObject):
Returned only for Web Apps launched via the attachment menu.""" Returned only for Web Apps launched via the attachment menu."""
chat: Optional[WebAppChat] = None chat: Optional[WebAppChat] = None
"""An object containing data about the chat where the bot was launched via the attachment menu. """An object containing data about the chat where the bot was launched via the attachment menu.
Returned for supergroups, channels, and group chats only for Web Apps launched via the attachment menu.""" Returned for supergroups, channels, and group chats only for Web Apps launched via the
attachment menu."""
chat_type: Optional[str] = None chat_type: Optional[str] = None
"""Type of the chat from which the Web App was opened. """Type of the chat from which the Web App was opened.
Can be either sender for a private chat with the user opening the link, Can be either sender for a private chat with the user opening the link,