Show / Hide Table of Contents

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 Source

MessageEventArgs(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 Source

Message

The message that has been received

Declaration
public Message Message { get; set; }
Property Value
Type Description
Message
  • Improve this Doc
  • View Source
Back to top Generated by DocFX