Unpublish-TwitterDM
SYNOPSIS
Deletes the direct message specified by the DirectMessageId parameter.
SYNTAX
Unpublish-TwitterDM [-DirectMessageId] <String> [<CommonParameters>]
DESCRIPTION
Deletes the direct message specified by the DirectMessageId parameter.
The authenticating user must be the recipient of the specified direct message. Direct Messages are only removed from the interface of the user context provided. Other members of the conversation can still access the Direct Messages.
EXAMPLES
Example 1
PS > Unpublish-TwitterDM -DirectMessageId 9876543210123
Deletes the direct message specified by the DirectMessageId parameter.
PARAMETERS
-DirectMessageId
The id of the Direct Message event that should be deleted.
Type: String
Parameter Sets: (All)
Aliases: Id
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.