Overview
| Comment: | fix doc ident |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
b3ca5f23ee3b6af552235cb22ee57523 |
| User & Date: | arcade on 2026-09-12 20:01:37.207 |
| Other Links: | manifest | tags |
Context
|
2026-09-13
| ||
| 10:16 | wrap long use line leaf check-in: c4f7a906af user: arcade tags: trunk | |
|
2026-09-12
| ||
| 20:01 | fix doc ident check-in: b3ca5f23ee user: arcade tags: trunk | |
| 20:00 | clarify docs, change file check check-in: e678fcdc39 user: arcade tags: trunk | |
Changes
Modified src/telegram.rs
from [82c662a80c]
to [5ad758e750].
| ︙ | ︙ | |||
108 109 110 111 112 113 114 | /// # Arguments /// * `to` - Target chat ID. /// * `media` - List of attachments, non-empty. /// * `msg` - Message text (supports HTML formatting). /// /// # Returns /// * `Result<()>` - fails if `media` is empty, problems forming media | | | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
/// # Arguments
/// * `to` - Target chat ID.
/// * `media` - List of attachments, non-empty.
/// * `msg` - Message text (supports HTML formatting).
///
/// # Returns
/// * `Result<()>` - fails if `media` is empty, problems forming media
/// group, request fails.
pub async fn sendgroup (&self, to: &ChatPeerId, media: Vec<Attachment>, msg: &str) -> Result<()> {
if media.len() > 1 {
let mut attach = vec![];
let mut pos = media.len();
for file in media {
let mut doc = InputMediaDocument::from(
InputFile::from(
|
| ︙ | ︙ |