-
Notifications
You must be signed in to change notification settings - Fork 13
syncing
Evan Feenstra edited this page Nov 17, 2020
·
1 revision
- new POST /stream, that takes
{
"destinations": Destination[],
"amount": number,
"chat_id": number,
"text": string
}
And splits the amount based on the Destination "split", and sends the text to each (same "text" structure as before). And it updates the Chat with the following metadata:
- Chat record has a "meta" text field, a stringified JSON object, including
{
"ts": number,
"itemID": number,
"sats_per_minute": number
}
- owner Contact has a "tip_amount" BIGINT column
- you can update it like normal updating owner Contact