pub trait ImplicitChatId: Into<ChatId> { }
Expand description

Allows certain types to be turned into ChatId implicitly.

Implicit turning is safe for chat ID wrappers. However, turning primitives into ChatId implicitly is not safe, as the primitive might have a different meaning. Because of that, we require to turn primitives into ChatId explicitly.