system property

bool system

Should be command called by user directly, or it is only for internal use?

Each command could be used in 2 ways:

  1. To handle command, explicitly sent by user to the chat
  2. To handle command, parsed from callback_query, for example when user pushes any button.

In first case system should be true, and library will run it, if it would be explicitly written to chat. In second case system should be false. Thus command would be handled normally when parsed from callback_query, but will be ignored when user send it to chat as text message

Implementation

bool get system => false;