(20250620) Minor upgrade to the SMS sending util.

This commit is contained in:
2025-06-20 12:14:51 +05:30
parent d497b84d15
commit ff490a55b2
6 changed files with 460 additions and 0 deletions
@@ -199,6 +199,7 @@ class AsyncNimbusSMS:
# Construct the basic structure of the response of this method:
summary = SentSMSMessageModel(
client = "nimbusSmsIndia",
sender = {"senderId": self.__sender_id},
recipient = {"recipientNo": recipient_number},
text = message,
+5
View File
@@ -79,6 +79,11 @@ import datetime
class SentSMSMessageModel(BaseModel):
client: str = Field(
description = "The name of the client (service) that was used.",
frozen = True
)
ts: AwareDatetime = Field(
description = "the time (utc) at which this message was sent by the sender",
frozen = True,