% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/send_file.R
\name{send_file}
\alias{send_file}
\title{Send a File}
\usage{
send_file(client, entity, file, ...)
}
\arguments{
\item{client}{TelegramClient instance.}

\item{entity}{Target entity (username, id, or TLObject).}

\item{file}{File path or file-like object.}

\item{...}{Additional arguments passed to `TelegramClient$send_message()`
(e.g., `message`, `force_document`, `attributes`, `thumb`, `parse_mode`).}
}
\value{
The sent message object (or Updates result).
}
\description{
Convenience wrapper around `TelegramClient$send_message()` that sends a file
and resolves futures/promises.
}
