Module graia.application.friend
Expand source code
from pydantic import BaseModel
class Friend(BaseModel):
"描述 Tencent QQ 中的可发起对话对象 '好友(friend)' 的能被获取到的信息."
id: int
nickname: str
remark: str
Classes
class Friend (**data: Any)
-
描述 Tencent QQ 中的可发起对话对象 '好友(friend)' 的能被获取到的信息.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
Expand source code
class Friend(BaseModel): "描述 Tencent QQ 中的可发起对话对象 '好友(friend)' 的能被获取到的信息." id: int nickname: str remark: str
Ancestors
- pydantic.main.BaseModel
- pydantic.utils.Representation
Class variables
var id : int
var nickname : str
var remark : str