> For the complete documentation index, see [llms.txt](https://prethink.gitbook.io/prtelegrambot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prethink.gitbook.io/prtelegrambot/ru/api/klassy/messagenotification.md).

# MessageNotification

```csharp
using PRTelegramBot.Interfaces;
using Telegram.Bot;

namespace PRTelegramBot.Services.Messages
{
    public class MessageNotification
    {
        #region Методы

        /// <summary>
        /// Вывод уведомления пользователю.
        /// </summary>
        /// <param name="context">Контекст бота.</param>
        /// <param name="callbackQueryId">Идентификатор callback.</param>
        /// <param name="text">Текст.</param>
        /// <param name="showAlert">Показывать уведомление.</param>
        /// <param name="url">.</param>
        /// <param name="cacheTime">.</param>
        /// <returns>Task</returns>
        public static async Task NotifyFromCallBack(
            IBotContext context,
            string callbackQueryId,
            string text,
            bool showAlert = true,
            string? url = null,
            int? cacheTime = null)

        #endregion
    }
}

```
