Change-Log [.NET Library]

The below table will be updated with changes to the TNZ .NET Library.

Version Field Description of Changes
2.04 Added support for Add Recipients
by Addressbook Contacts & Groups
Builder AddRecipient()/AddRecipients() functions:
  • AddRecipient(ContactModel contact)
  • AddRecipient(ContactID contactID)
  • AddRecipients(GroupModel group)
  • AddRecipients(GroupID groupID)
  • AddRecipients(List<ContactModel> contacts)
  • AddRecipients(List<ContactID> contactIDs)
  • AddRecipients(List<GroupModel> groups)
  • AddRecipients(List<GroupID> groupIDs)
Supporting SendMessage() & SendMessageAsync() functions:
  • ...
  • GroupModel group = null,
  • ICollection<GroupModel> groups = null,
  • GroupID groupID = null,
  • ICollection<GroupID> groupIDs = null,
  • ContactModel contact = null,
  • ICollection<ContactModel> contacts = null,
  • ContactID contactID = null,
  • ICollection<ContactID> contactIDs = null,
  • string destination = null,
  • ICollection<string> destinations = null,
  • string destination = null,
  • ICollection<string> destinations = null,
  • Recipient recipient = null,
  • ...
2.04 Objectified important IDs Reached limitation of using string for unique identifiers, now some of important unique identifiers using its own object from strings.

New ID objects are:
  • string MessageID -> record MessageID()
  • string GroupID -> record GroupID()
  • string ContactID -> record ContactID()
2.04 Supporting to .NET 6/7/8 Updated package to support .NET 6/7 & 8
2.03.1 Send TTS/Voice Added support for Keypad.PlaySection & KeypadOptionsRequired properties.
2.03 Moved to .NET 6 Everything is now re-written in .NET 6.
This is a major update, your code from the previous versions (V2.02 and before) may not be compatible.

Added support for Addressbook Contacts/Groups. New namespaces are:

  • TNZAPI.NET.Api.Addressbook.Contact
  • TNZAPI.NET.Api.Addressbook.ContactGroup
  • TNZAPI.NET.Api.Addressbook.Group
  • TNZAPI.NET.Api.Addressbook.GroupContact
2.02 Builders Added Builders for all request types
  • TNZAPI.Messaging.Get.SMSReceivedRequestBuilder()
  • TNZAPI.Messaging.Get.SMSReplyRequestBuilder()
  • TNZAPI.Messaging.Get.StatusRequestBuilder()
  • TNZAPI.Messaging.Send.EmailBuilder()
  • TNZAPI.Messaging.Send.FaxBuilder()
  • TNZAPI.Messaging.Send.SMSBuilder()
  • TNZAPI.Messaging.Send.TTSBuilder()
  • TNZAPI.Messaging.Send.VoiceBuilder()
  • TNZAPI.Messaging.Set.AbortRequestBuilder()
  • TNZAPI.Messaging.Set.PacingRequestBuilder()
  • TNZAPI.Messaging.Set.RescheduleRequestBuilder()
  • TNZAPI.Messaging.Set.ResubmitRequestBuilder()
2.02 Authorization Added support for Authorization Headers (JWT Tokens)
2.01 Options Improved Options features for Send Voice and Send TTS
2.01 Received Messages Webhook Added 'Type=SMSInbound' if the received SMS is not a reply
2.00 API Throughput Significantly improved API throughput
2.00 WebhookCallbackURL Added WebhookCallbackURL to Send function
2.00 WebhookCallbackFormat Added WebhookCallbackFormat to Send function
2.00 Webhook Fields Added SubAccount, Department and RESPONSEMODE to Status and Reply Webhook
2.00 Status & Reply Expire Updated Expire rules for Status and Reply functions
1.05 URL Shortener Added URL Shortener feature to Send SMS
1.05 Reply Link Added Reply Link feature to Send SMS
1.05 Webhook Retries Added information on webhook retries
1.05.4 Bug fixes Add slashes to SMS.MessageText & Email.MessagePlain
1.05.3 Bug fixes TTS/Voice module bug fixes
1.05 Keypad.PlayFile Added Keypad.PlayFile option on Voice
1.05 ReportTo Added ReportTo option on TTS & Voice
1.04.1 Resubmit Added Retry Sending (Resubmit) controls to the Edit Messages section
1.04.1 Reschedule Added Reschedule Sending controls to the Edit Messages section
1.04.1 Abort Added Abort Sending controls to the Edit Messages section
1.04.1 NumberOfOperators Added Adjust NumberOfOperators controls to the Edit Messages section
1.03.1 - Library publically released