TelegramBotFramework/TelegramBotBase/Args/SessionBeginEventArgs.cs

17 lines
360 B
C#

using System;
using TelegramBotBase.Interfaces;
namespace TelegramBotBase.Base;
public class SessionBeginEventArgs : EventArgs
{
public SessionBeginEventArgs(long deviceId, IDeviceSession device)
{
DeviceId = deviceId;
Device = device;
}
public long DeviceId { get; set; }
public IDeviceSession Device { get; set; }
}