Expand description
Ergonomic high-level wrappers over raw TL user/chat types (G-37).
The raw TL layer has tl::enums::User (two variants: Empty / User) and
tl::enums::Chat (five variants: Empty, Chat, Forbidden,
Channel, ChannelForbidden). Working with them directly requires constant
pattern-matching. This module provides three thin wrappers — User,
Group, and Channel — with uniform accessor APIs.
Structs§
- Channel
- Wrapper around a Telegram channel or supergroup (
tl::types::Channel). - Group
- Wrapper around a basic Telegram group (
tl::types::Chat). - User
- Wrapper around
tl::enums::Userwith ergonomic accessors.