DataPack
- class telegramdb.DataPack
Bases:
objectObject that contains all the data in a database.
Note
Members are added as attributes in an inherited class of this object.
Example
from telegramdb import DataPack, Member class TestData(DataPack): __datapack_name__ = "test" id = Member(int, is_primary=True) name = Member(str) def __init__(self, id): self.id = id