Module graia.application.message
Expand source code
from pydantic import BaseModel
class BotMessage(BaseModel):
messageId: int
Sub-modules
graia.application.message.chain
graia.application.message.elements
graia.application.message.parser
Classes
class BotMessage (**data: Any)
-
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 BotMessage(BaseModel): messageId: int
Ancestors
- pydantic.main.BaseModel
- pydantic.utils.Representation
Class variables
var messageId : int