Skip to content

Commit

Permalink
More optionals.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrewangeta authored Dec 14, 2021
1 parent 5ff6c1f commit 5b76366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/MessagebirdKit/SMS/Models/Message.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ public struct MessageRecipientItem: Codable {
/// The name of the operator of the recipient. Identified by MCCMNC of the message.
public var recipientOperator: String?
/// The length of the message in characters. Depends on the message datacoding.
public var messageLength: Int
public var messageLength: Int?
/// The details about the message status. Possible values: `successfully delivered`, `pending DLR`, `DLR not received`, `incorrect number`, `unknown subscriber`, `expired`, `timeout`, and `generic delivery failure`.
public var statusReason: MessageRecipientItemStatusReason
public var statusReason: MessageRecipientItemStatusReason?
/// A hashmap with extra information about how much the message costs.
public var price: MessageRecipientItemPrice?
/// The code of the operator of the message sender. It could have null value if the message isn’t delivered yet.
Expand Down

0 comments on commit 5b76366

Please sign in to comment.