Add Null primitive data type · sissonlu11/pyrogram@ba0af80 · GitHub
Skip to content

Commit ba0af80

Browse files
committed
Add Null primitive data type
1 parent 8a8e863 commit ba0af80

4 files changed

Lines changed: 36 additions & 2 deletions

File tree

compiler/api/compiler.py

Lines changed: 1 addition & 0 deletions

compiler/api/source/main_api.tl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
---types---
88

99
// boolFalse#bc799737 = Bool; // Parsed manually
10-
// boolTrue#997275b5 = Bool; // parsed manually
10+
// boolTrue#997275b5 = Bool; // Parsed manually
1111

1212
// true#3fedd339 = True; // Not used
1313

1414
// vector#1cb5c415 {t:Type} # [ t ] = Vector t; // Parsed manually
1515

1616
// error#c4b9f9bb code:int text:string = Error; // Not used
1717

18-
// null#56730bcc = Null; // Not used
18+
// null#56730bcc = Null; // Parsed manually
1919

2020
inputPeerEmpty#7f3b18ea = InputPeer;
2121
inputPeerSelf#7da07ec9 = InputPeer;

pyrogram/api/core/primitives/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
from .bytes import Bytes
2121
from .double import Double
2222
from .int import Int, Long, Int128, Int256
23+
from .null import Null
2324
from .string import String
2425
from .vector import Vector
Lines changed: 32 additions & 0 deletions

0 commit comments

Comments
 (0)