Closed comphonia closed 2 years ago
Hi @comphonia, how did you solve this problem?
Hi @comphonia, how did you solve this problem?
Hey, I just used an adapter to force the segment count to 1 for MMS. This makes sense if you use the count as a cost multiplier and you limit the input to a max 1600 characters
const stats = new SegmentedMessage(<<msg>>)
if(attachments.length) stats.numberOfCharacters = 1
return stats
Awesome! Thanks so much
Is it possible to support MMS segments calculation? constructor(message, encoding, type) type = "sms" | "mms"