MessageData Constructor

Initializes a new instance of the MessageData class with specified message and peer information.

Definition

Namespace: DevCase.ThirdParty.WTelegramClient
Assembly: DevCase.net48.ThirdParty.WTelegramClient (in DevCase.net48.ThirdParty.WTelegramClient.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public MessageData(
	IPeerInfo peerInfo,
	Channel channel,
	ForumTopic topic,
	Message message,
	bool hasMedia
)

Parameters

peerInfo  IPeerInfo
The peer information associated with the message.
channel  Channel
The channel associated with the message.
topic  ForumTopic
If the channel specified in channel paameter is a group, this value represents the topic where this message was sent. Otherwise, this value can be null.
message  Message
The message.
hasMedia  Boolean
The a value indicating whether the message contains media.

See Also