Liking cljdoc? Tell your friends :D

cloregram.validation.client


click-btnclj

(click-btn msg vuid btn-text)
(click-btn msg vuid row col)

Simulate clicking button in row and col or with text btn in message msg by virtual user with username vuid. Exception would be thrown if there is no expected button. Returns msg

Simulate clicking button in `row` and `col` or with text `btn` in message `msg` by virtual user with username `vuid`. Exception would be thrown if there is no expected button. Returns `msg`
sourceraw docstring

pay-invoiceclj

(pay-invoice msg vuid)

Simulate payment for invoice from message msg by virtual user with username vuid. Returns msg

Simulate payment for invoice from message `msg` by virtual user with username `vuid`. Returns `msg`
sourceraw docstring

send-messageclj

(send-message vuid data & opts)

Simulate sending raw message represented in data by virtual user with username vuid. In most cases you don't need this function. Use it only if you definitely know what you are doing. Optionaly use :silent option to not save message in virtual user's state

Simulate sending raw message represented in `data` by virtual user with username `vuid`. In most cases you don't need this function. Use it only if you definitely know what you are doing. Optionaly use `:silent` option to not save message in virtual user's state
sourceraw docstring

send-photoclj

(send-photo vuid path)
(send-photo vuid caption path)
(send-photo vuid caption entities path)

Simulate sending photo with optional caption from resource path by virtual user with username vuid. Optionaly entities array can be provided for formatting caption

Simulate sending photo with optional `caption` from resource `path` by virtual user with username `vuid`. Optionaly `entities` array can be provided for formatting caption
sourceraw docstring

send-textclj

(send-text vuid text)
(send-text vuid text entities)

Simulate sending text by virtual user with username vuid. Optionaly entities array can be provided for formatting message

Simulate sending `text` by virtual user with username `vuid`. Optionaly `entities` array can be provided for formatting message
sourceraw docstring

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

× close