Page MenuHomePhabricator

[tg bot] Split up msgs that are too long for the telegram api
AbandonedPublic

Authored by bytesofman on Mar 22 2023, 14:35.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

T2972

Depends on D13420

Add new test method npm run msg to send a single msg or array of msgs
Add new function to split up tg msg into multiple msgs if it is too large to broadcast

Test Plan

npm test
npm run msg and multi-part msg sends
npm run msgs and all block msgs send, including 2 and 3 part msgs

Diff Detail

Repository
rABC Bitcoin ABC
Branch
new-tg-bot-stack
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22595
Build 44810: Build Diff
Build 44809: arc lint + arc unit