Share via


EventGridModelFactory.AcsSmsReceivedEventData Method

Definition

Initializes a new instance of AcsSmsReceivedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.AcsSmsReceivedEventData AcsSmsReceivedEventData (string messageId = default, string from = default, string to = default, string message = default, DateTimeOffset? receivedTimestamp = default);
static member AcsSmsReceivedEventData : string * string * string * string * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.AcsSmsReceivedEventData
Public Shared Function AcsSmsReceivedEventData (Optional messageId As String = Nothing, Optional from As String = Nothing, Optional to As String = Nothing, Optional message As String = Nothing, Optional receivedTimestamp As Nullable(Of DateTimeOffset) = Nothing) As AcsSmsReceivedEventData

Parameters

messageId
String

The identity of the SMS message.

from
String

The identity of SMS message sender.

to
String

The identity of SMS message receiver.

message
String

The SMS content.

receivedTimestamp
Nullable<DateTimeOffset>

The time at which the SMS was received.

Returns

A new AcsSmsReceivedEventData instance for mocking.

Applies to