class

PrivateParlorXT::PrivacyPolicyCommand

Inherits PrivateParlorXT::CommandHandler < PrivateParlorXT::Handler < Reference < Object

A command used to view the privacy policy of the bot

This command is required for all Telegram bots according to https://t.me/BotNews/96

All bots require a privacy policy that is easily accessible This command is usuable by any user of the bot, regardless of if he is blacklisted, left, or neither

The Privacy Policy is defined in the locale files; if you modify the program in how it handles data, the Privacy Policy may need to be updated

Contact information is defined by the blacklist_contact configured value

Instance methods

do(message : Tourmaline::Message, services : Services) : Nil

Returns a message containing this bot's Privacy Policy

Source