Module tbot::predicates::chat[][src]

A few useful predicates for chats.

Functions

is_channel

Checks if the message is from a channel.

is_group

Checks if the message is from a group.

is_private

Checks if the message is from a private chat.

is_supergroup

Checks if the message is from a supergroup.