Class MessageEventArgs
Event args for a new message received by the bot
Inheritance
System.Object
System.EventArgs
MessageEventArgs
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 MessageEventArgs : EventArgs
Constructors
| Improve this Doc View SourceMessageEventArgs(Message)
Inititalizes a new instance of the MessageEventArgs class
Declaration
public MessageEventArgs(Message message)
Parameters
Type | Name | Description |
---|---|---|
Message | message |
Properties
| Improve this Doc View SourceMessage
The message that has been received
Declaration
public Message Message { get; set; }
Property Value
Type | Description |
---|---|
Message |