(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`
(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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close