Merge commit '8c53cd751261a9c46177fd509aa49d591dd4bcf2'
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user