using System; using TelegramBotBase.Form; namespace TelegramBotBase.Interfaces; internal interface IDeviceSession { /// /// Device or chat id /// long DeviceId { get; set; } /// /// Username of user or group /// string ChatTitle { get; set; } /// /// When did any last action happend (message received or button clicked) /// DateTime LastAction { get; set; } /// /// Returns the form where the user/group is at the moment. /// FormBase ActiveForm { get; set; } /// /// Returns the previous shown form /// FormBase PreviousForm { get; set; } /// /// contains if the form has been switched (navigated) /// bool FormSwitched { get; set; } }