Liking cljdoc? Tell your friends :D

cloregram.validation.inspector


check-btnsclj

(check-btns msg btns)

Used to check inline keyboard layout for any kind of msg. Tests that buttons structure and texts in msg are equal to btns. Returns msg

Used to check inline keyboard layout for any kind of `msg`. Tests that buttons structure and texts in `msg` are equal to `btns`. Returns `msg`
sourceraw docstring

check-documentclj

(check-document msg caption content)

Used to check that document message is correct. Tests that caption and :caption field of msg are equal and byte array content is equal to document in msg. Returns msg

Used to check that document message is correct. Tests that `caption` and `:caption` field of `msg` are equal and byte array `content` is equal to document in `msg`. Returns `msg`
sourceraw docstring

check-invoiceclj

(check-invoice msg expected)

Used to check that invoice message is correct. Tests that expected and :invoice field of msg are equal. Returns msg

Used to check that invoice message is correct. Tests that `expected` and `:invoice` field of `msg` are equal. Returns `msg`
sourceraw docstring

check-photoclj

(check-photo msg caption expected)

Used to check that photo message is correct. Tests that caption and :caption field of msg are equal and image in resource expected is equal to photo in msg. Returns msg

Used to check that photo message is correct. Tests that `caption` and `:caption` field of `msg` are equal and image in resource `expected` is equal to photo in `msg`. Returns `msg`
sourceraw docstring

check-textclj

(check-text msg text)

Used to check that text in text message is correct. Tests that text and :text field of msg are equal. Returns msg

Used to check that text in text message is correct. Tests that `text` and `:text` field of `msg` are equal. Returns `msg`
sourceraw docstring

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

× close