MCPcopy Create free account
hub / github.com/antirez/botlib / botSendMessage

Function botSendMessage

botlib.c:461–463  ·  view source on GitHub ↗

Like botSendMessageWithInfo() but without returning by reference * the chat and message IDs that are only useful if you want to * edit the message later. * Return 1 on success, 0 on error. */

Source from the content-addressed store, hash-verified

459 * edit the message later.
460 * Return 1 on success, 0 on error. */
461int botSendMessage(int64_t target, sds text, int64_t reply_to) {
462 return botSendMessageAndGetInfo(target,text,reply_to,NULL,NULL);
463}
464
465/* Send a message to the specified channel, optionally as a reply to a
466 * specific message (if reply_to is non zero).

Callers 1

handleRequestFunction · 0.85

Calls 1

botSendMessageAndGetInfoFunction · 0.85

Tested by

no test coverage detected