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's ChannelID from the username
getId() ChatID

Available on User, provided by the GetUserChatID extension

Returns the ChatID of the chat.
isTheSameChat(ID chatId) bool

Available on User, provided by the GetUserChatID extension

Returns true if the chatId passed matches the current chat's ID.