Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inital commit for adding whatsapp support #262

Merged
merged 6 commits into from
Oct 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion src/Plivo/Resource/Message/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,24 @@ public class Message : Resource
/// <value> DLT Template Category.</value>
public string DltTemplateCategory { get; set; }

/// <summary>
/// Gets or sets the conversation id.
/// </summary>
/// <value>The conversation id.</value>
public string ConversationID { get; set; }

/// <summary>
/// Gets or sets the conversation origin.
/// </summary>
/// <value>The conversation origin.</value>
public string ConversationOrigin { get; set; }

/// <summary>
/// Gets or sets the conversation expiration timestamp.
/// </summary>
/// <value>The conversation expiration timestamp.</value>
public string ConversationExpirationTimestamp { get; set; }

public override string ToString()
{
return "\n" +
Expand Down Expand Up @@ -188,7 +206,10 @@ public override string ToString()
"ReplacedSender: " + ReplacedSender + "\n" +
"DLTEntityID: " + DltEntityId + "\n" +
"DLTTemplateID: " + DltTemplateId + "\n" +
"DLTTemplateCategory: " + DltTemplateCategory + "\n";
"DLTTemplateCategory: " + DltTemplateCategory + "\n" +
"ConversationID: " + ConversationID + "\n" +
"ConversationOrigin: " + ConversationOrigin + "\n" +
"ConversationExpirationTimestamp: " + ConversationExpirationTimestamp + "\n";
}
#region ListMedia
/// <summary>
Expand Down
Loading
Loading