MessageData Constructor
Initializes a new instance of the
MessageData class with specified message and peer information.
Namespace: DevCase.ThirdParty.WTelegramClientAssembly: 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
)
Public Sub New (
peerInfo As IPeerInfo,
channel As Channel,
topic As ForumTopic,
message As Message,
hasMedia As Boolean
)
Dim peerInfo As IPeerInfo
Dim channel As Channel
Dim topic As ForumTopic
Dim message As Message
Dim hasMedia As Boolean
Dim instance As New MessageData(peerInfo,
channel, topic, message, hasMedia)
public:
MessageData(
IPeerInfo^ peerInfo,
Channel^ channel,
ForumTopic^ topic,
Message^ message,
bool hasMedia
)
new :
peerInfo : IPeerInfo *
channel : Channel *
topic : ForumTopic *
message : Message *
hasMedia : bool -> MessageData
No code example is currently available or this language may not be supported.
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.