GetUserChatID extension
Extension on User
to create ID of the chat
- on
Methods
-
getChannelId(
) → ID? -
Gets the chat's
ChannelID
from the username -
getId(
) → ChatID -
Returns the
ChatID
of the chat. -
isTheSameChat(
ID chatId) → bool -
Returns true if the
chatId
passed matches the current chat's ID.