Skip to main content

Crate walrus_pchannel

Crate walrus_pchannel 

Source
Expand description

Channel abstraction for the walrus protocol.

Defines the Channel trait, platform types, message types, routing, and menu abstractions. Channel implementations (e.g. Telegram) live in separate crates and implement Channel to produce a ChannelHandle.

Re-exports§

pub use router::ChannelRouter;
pub use router::RoutingRule;
pub use router::parse_platform;

Modules§

menu
Menu abstractions for channel bot commands and keyboards.
router
Channel routing table.

Structs§

Attachment
A file or media attachment.
ChannelHandle
A live channel connection that can receive and send messages.
ChannelMessage
A message received from or sent to a channel.
ChannelSender
A cloneable sender extracted from a ChannelHandle.

Enums§

AttachmentKind
Type of attachment content.
Platform
Messaging platform identifier.

Traits§

Channel
A connection to a messaging platform.