Liking cljdoc? Tell your friends :D
Clojure only.

teleward.state.api


IStatecljprotocol

del-attrclj

(del-attr this chat-id user-id attr)

Delete a single attrubute.

Delete a single attrubute.

del-attrsclj

(del-attrs this chat-id user-id)

Delete all the attrubutes.

Delete all the attrubutes.

filter-by-attrclj

(filter-by-attr this attr op value)

Filter rows by an attribute, a binary operator (e.g <, >, =, etc) and a value. Must return triples [chat-id, user-id, attrs]

Filter rows by an attribute, a binary operator
(e.g <, >, =, etc) and a value.
Must return triples [chat-id, user-id, attrs]

get-attrclj

(get-attr this chat-id user-id attr)

Set multiple attributes at once.

Set multiple attributes at once.

get-attrsclj

(get-attrs this chat-id user-id)

Get all the attributes at once.

Get all the attributes at once.

inc-attrclj

(inc-attr this chat-id user-id attr)

Increase an integer attribute.

Increase an integer attribute.

set-attrclj

(set-attr this chat-id user-id attr val)

Set a single attribute.

Set a single attribute.

set-attrsclj

(set-attrs this chat-id user-id mapping)

Set multiple attributes at once.

Set multiple attributes at once.
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close