GetUserChatID extension
Extension on User to create ID of the chat
- on
Methods
-
getChannelId(
) → ID? -
Available on User, provided by the GetUserChatID extension
Gets the chat'sChannelIDfrom the username -
getId(
) → ChatID -
Available on User, provided by the GetUserChatID extension
Returns theChatIDof the chat. -
isTheSameChat(
ID chatId) → bool -
Available on User, provided by the GetUserChatID extension
Returns true if thechatIdpassed matches the current chat's ID.