telegramlib.set_param

telegramlib.set_param(key, value)[source]

Set the value of a user custom parameter.

Parameters:
  • key (any) – The key name of the parameter to be set. It must be one of the keys in the default parameter dictionary.

  • value (any) – The value to be associated with the key.