Module models

Source
Expand description

Data models for the BotRS library.

This module contains all the data structures used for interacting with the QQ Guild Bot API, including messages, guilds, users, channels, and other entities.

Re-exports§

pub use guild::Guild;
pub use guild::Member;
pub use guild::Role;
pub use announce::*;
pub use api::*;
pub use channel::*;
pub use emoji::*;
pub use gateway::*;
pub use message::*;
pub use permission::*;
pub use robot::*;
pub use schedule::*;
pub use user::*;

Modules§

announce
Announcement-related data structures for the QQ Guild Bot API.
api
API response models for the QQ Guild Bot API.
channel
Channel-related data models for the QQ Guild Bot API.
emoji
Emoji-related data structures for the QQ Guild Bot API.
gateway
Gateway event models for the QQ Guild Bot API.
guild
Guild-related data models for the QQ Guild Bot API.
message
Message-related data models for the QQ Guild Bot API.
permission
Permission-related data structures for the QQ Guild Bot API.
robot
Robot (bot) related data models for the QQ Guild Bot API.
schedule
Schedule-related data structures for the QQ Guild Bot API.
user
User-related data models for the QQ Guild Bot API.

Structs§

Color
Represents a color value.

Enums§

ChannelType
Represents the type of a channel.
MessageType
Represents the type of a message.

Traits§

HasId
Common trait for objects that have a snowflake ID.
HasName
Common trait for objects that have a name.

Type Aliases§

Snowflake
A snowflake ID used throughout the QQ Guild API.
Timestamp
Represents a timestamp in the API.