MCPcopy Create free account
hub / github.com/bytesnake/telebot / fetch_formdata

Method fetch_formdata

src/bot.rs:66–77  ·  view source on GitHub ↗

Creates a new request with some byte content (e.g. a file). The method properties have to be in the formdata setup and cannot be sent as JSON.

(
        &self,
        func: &'static str,
        msg: &Value,
        files: Vec<File>,
        kind: &str,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

_fetchFunction · 0.85
build_formdataMethod · 0.80

Tested by

no test coverage detected