import { Message_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
A message
Constructors
Properties
Whether the message should be shown as not modified to the user, even if an edit date is present
Message entities for styled text
Whether this is a scheduled message
Multiple media messages sent using messages.sendMultiMedia with the same grouped ID indicate an album or media group
If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
Whether we were mentioned in this message
Whether this message is protected and thus cannot be forwarded; clients should also prevent users from saving attached media (i.e. videos should only be streamed, photos should be kept in RAM, et cetera).
Whether this message is pinned
Name of the author of this message for channel posts (with signatures enabled)
Contains the reason why access to this message must be restricted.
Messages fetched from a saved messages dialog » will have peer
=inputPeerSelf and the saved_peer_id
flag set to the ID of the saved dialog.
Time To Live of the message, once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well.