Skip to main content

ChatID

ChatID can be used to retrieve the particular chat's ID. This is primarily useful for bots which may be used in multiple chats (like with YouTube) alongside of the eval variable.

Usage

$(eval '$(chatid)' === 'pM4IfHZ5qcYSf987SDFDF9' ? 'say this' : 'say something else')