BotChannel
Defined in the bots module.Rust AI Agent SDK Represents a channel/chat in a messaging platform.
Fields
| Name | Type | Description |
|---|---|---|
channel_id | String | Platform-specific channel identifier |
name | Option<String> | Channel name (if available) |
channel_type | String | Type of channel (dm, group, channel, thread) |
metadata | HashMap<String | Additional platform-specific metadata |
serde_json | :Value> | Additional platform-specific metadata |
Methods
new
| Name | Type |
|---|---|
channel_id | impl Into<String> |
name
| Name | Type |
|---|---|
name | impl Into<String> |
channel_type
| Name | Type |
|---|---|
channel_type | impl Into<String> |
metadata
| Name | Type |
|---|---|
key | impl Into<String> |
value | serde_json::Value |
Source
View on GitHub
praisonai/src/bots/mod.rs at line 148
