Source code for aiogram.types.message_auto_delete_timer_changed
from __future__ import annotations
from typing import TYPE_CHECKING, Any
from .base import TelegramObject
[docs]
class MessageAutoDeleteTimerChanged(TelegramObject):
"""
This object represents a service message about a change in auto-delete timer settings.
Source: https://core.telegram.org/bots/api#messageautodeletetimerchanged
"""
message_auto_delete_time: int
"""New auto-delete time for messages in the chat; in seconds"""
if TYPE_CHECKING:
# DO NOT EDIT MANUALLY!!!
# This section was auto-generated via `butcher`
def __init__(
__pydantic__self__, *, message_auto_delete_time: int, **__pydantic_kwargs: Any
) -> None:
# DO NOT EDIT MANUALLY!!!
# This method was auto-generated via `butcher`
# Is needed only for type checking and IDE support without any additional plugins
super().__init__(
message_auto_delete_time=message_auto_delete_time, **__pydantic_kwargs
)