{notice}

from __future__ import annotations

{warning}

from pyrogram import raw
from pyrogram.raw.core import TLObject

type {name} = {types}


# noinspection PyRedeclaration
class {name}:  # type: ignore
    """{docstring}
    """

    QUALNAME = "pyrogram.raw.base.{qualname}"

    def __init__(self):
        raise TypeError("Base types can only be used for type checking purposes: "
                        "you tried to use a base type instance as argument, "
                        "but you need to instantiate one of its constructors instead. "
                        "More info: https://docs.pyrogram.org/telegram/base/{doc_name}")