> 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/metody-rasshireniya/descriptionextension.md).

# DescriptionExtension

```csharp
/// <summary>
/// Позволяет получить описание у Enum.
/// </summary>
/// <param name="enum">Значение из перечесления.</param>
/// <returns>Описание.</returns>
public static string GetDescription(this Enum @enum)
```
