We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
raw methods
1 parent a522e65 commit 2ab1389Copy full SHA for 2ab1389
1 file changed
compiler/api/template/type.txt
@@ -4,19 +4,5 @@
4
5
from typing import Union
6
from hydrogram import raw
7
-from hydrogram.raw.core import TLObject
8
9
{name} = Union[{types}]
10
-
11
12
-class {name}: # type: ignore
13
- """{docstring}
14
- """
15
16
- QUALNAME = "hydrogram.raw.base.{qualname}"
17
18
- def __init__(self):
19
- raise TypeError("Base types can only be used for type checking purposes: "
20
- "you tried to use a base type instance as argument, "
21
- "but you need to instantiate one of its constructors instead. "
22
- "More info: https://docs.hydrogram.org/en/latest/telegram/base/{doc_name}.html")
0 commit comments