version: 2.1.3


delete data in database, NOTE : for now , only work on json database


key string The key you want to delete data in database Yes
type string type of chat , must be one of these : private,group,supergroup,channel Optional(Caught by catchFields method)
id int user or chat id for delete data in it Optional(Caught by catchFields method)

Method errors

key parameter not found parameter key not founded , set it like example
key not found key not found in BPT database
key most be string key parameter most be string
id not found id not found in BPT database
only work on json db this method only work in json db type

Method examples


Method alices

There is no alices

Method output :