CommunicationMessagesModelFactory.MessageReceipt(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MessageReceipt.
public static Azure.Communication.Messages.MessageReceipt MessageReceipt (string messageId = default, string to = default);
static member MessageReceipt : string * string -> Azure.Communication.Messages.MessageReceipt
Public Shared Function MessageReceipt (Optional messageId As String = Nothing, Optional to As String = Nothing) As MessageReceipt
Parameters
- messageId
- String
The message id.
- to
- String
The native external platform user identifier of the recipient.
Returns
A new MessageReceipt instance for mocking.
Exceptions
messageId
or to
is null.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET