Sagara.Core.Google
5.9.5
See the version list below for details.
dotnet add package Sagara.Core.Google --version 5.9.5
NuGet\Install-Package Sagara.Core.Google -Version 5.9.5
<PackageReference Include="Sagara.Core.Google" Version="5.9.5" />
<PackageVersion Include="Sagara.Core.Google" Version="5.9.5" />
<PackageReference Include="Sagara.Core.Google" />
paket add Sagara.Core.Google --version 5.9.5
#r "nuget: Sagara.Core.Google, 5.9.5"
#:package Sagara.Core.Google@5.9.5
#addin nuget:?package=Sagara.Core.Google&version=5.9.5
#tool nuget:?package=Sagara.Core.Google&version=5.9.5
Sagara.Core.Google
Common Google API integration code that I use across many projects.
Google Chat
Markdown Formatting
Callers always pass the message body and any card Text Paragraph widgets as Markdown.
For the official documentation of what's supported, see Format messages.
Message body: Markdown is converted to classic markup
Incoming webhooks do not render Markdown in the top-level message body, so by default the library
converts the Markdown body to Google Chat "classic" markup before sending
(GoogleChatServiceOptions.ConvertBodyToClassicMarkup, default true). Set it to false to send the body
bytes exactly as supplied. This conversion never touches Markdown in card Text Paragraph widgets — those
are always sent with MARKDOWN text syntax and rendered by Google.
| Markdown you write | Sent as classic markup |
|---|---|
[Sagara.org](https://www.sagara.org) |
<https://www.sagara.org\|Sagara.org> |
**Bold** / __Bold__ |
*Bold* |
*Italic* / _Italic_ |
_Italic_ |
~~Strikethrough~~ |
~Strikethrough~ |
`single line code` |
`single line code` (unchanged) |
```csharp … ``` |
``` … ``` (language info string dropped) |
- Simple / 1. Numbered lists |
unchanged (nested indentation preserved) |
# Heading |
*Heading* (bold line — classic markup has no headings) |
> Blockquote |
> Blockquote (literal > prefix — classic markup has no blockquote) |
 image |
<url\|alt> (link form — classic markup has no images) |
Raw HTML, e.g. a <chat-user …> mention chip |
passed through untouched |
When ConvertBodyToClassicMarkup is enabled, user mentions are also emitted in classic form
(<users/all>, <users/USER_ID>). Google Chat classic markup has no email-mention form, so users are
always mentioned by ID while this option is enabled, even when GoogleChatMentionStyle.Email is configured.
Supported in Text Paragraph in cards
Blockquotes and user mentions are not supported in card
Text Paragraphwidgets.
| Feature | Markdown |
|---|---|
| Link | [Sagara.org](https://www.sagara.org) |
| Bold | **Bold** |
| Italic | *Italic* |
| Strikethrough | ~~Strikethrough~~ |
| Inline code | `single line code` |
| Code block | ```csharp <br> var jon = "sagara"; <br> var name = jon.ToUpperInvariant(); <br> ``` |
| Simple list | - Simple <br> - List |
| Nested list | - Nested <br> - List <br> - Third item |
| Numbered list | 1. Numbered <br> 1. List |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Markdig (>= 1.3.2)
- Microsoft.Extensions.Http (>= 10.0.11)
- Sagara.Core (>= 5.9.5)
-
net8.0
- Markdig (>= 1.3.2)
- Microsoft.Extensions.Http (>= 8.0.1)
- Sagara.Core (>= 5.9.5)
-
net9.0
- Markdig (>= 1.3.2)
- Microsoft.Extensions.Http (>= 9.0.19)
- Sagara.Core (>= 5.9.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 6.0.0-preview5 | 0 | 8/27/2026 |
| 6.0.0-preview4 | 26 | 8/27/2026 |
| 6.0.0-preview3 | 40 | 8/22/2026 |
| 6.0.0-preview2 | 47 | 8/21/2026 |
| 5.9.5 | 0 | 8/27/2026 |
| 5.9.4 | 43 | 8/27/2026 |
| 5.9.3 | 88 | 8/22/2026 |
| 5.9.2 | 87 | 8/21/2026 |
| 5.9.2-preview5 | 77 | 8/21/2026 |
| 5.9.2-preview4 | 77 | 8/21/2026 |
| 5.9.2-preview3 | 79 | 8/20/2026 |
| 5.9.2-preview2 | 84 | 8/18/2026 |