Class ChannelPostEventArgs
Event args for a new incoming channel post
Inheritance
System.Object
System.EventArgs
ChannelPostEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.Events
Assembly: TelegramBotApi.dll
Syntax
public class ChannelPostEventArgs : EventArgs
Constructors
| Improve this Doc View SourceChannelPostEventArgs(Message)
Initializes a new instance of the ChannelPostEventArgs class
Declaration
public ChannelPostEventArgs(Message channelPost)
Parameters
Type | Name | Description |
---|---|---|
Message | channelPost |
Properties
| Improve this Doc View SourceChannelPost
The sent message in the channel
Declaration
public Message ChannelPost { get; set; }
Property Value
Type | Description |
---|---|
Message |