Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grm/src/tl/mod.ts>Api.InputSingleMedia

MTProto API Client for Deno 🦕
Go to Latest
class Api.InputSingleMedia
extends VirtualClass<{ media: Api.TypeInputMedia; randomId?: long; message: string; entities?: Api.TypeMessageEntity[]; }>
import { Api } from "https://deno.land/x/grm@0.5.1/src/tl/mod.ts";
const { InputSingleMedia } = Api;

Properties

className: "InputSingleMedia"
classType: "constructor"
CONSTRUCTOR_ID: 482797855
optional
entities: Api.TypeMessageEntity[]
media: Api.TypeInputMedia
message: string
optional
randomId: long
SUBCLASS_OF_ID: 566922968

Static Methods

fromReader(reader: Reader): InputSingleMedia