Raw.messages.EditMessage
Edit message
messages.editMessage#dfd14005 flags:# no_webpage:flags.1?true invert_media:flags.16?true peer:InputPeer id:int message:flags.11?string media:flags.14?InputMedia reply_markup:flags.2?ReplyMarkup entities:flags.3?Vector<MessageEntity> schedule_date:flags.15?int quick_reply_shortcut_id:flags.17?int = Updates;
export namespace Raw {
export namespace messages {
export class EditMessage {
constructor(params: {
noWebpage?: boolean;
invertMedia?: boolean;
peer: Raw.TypeInputPeer;
id: number;
message?: string;
media?: Raw.TypeInputMedia;
replyMarkup?: Raw.TypeReplyMarkup;
entities?: Array<Raw.TypeMessageEntity>;
scheduleDate?: number;
quickReplyShortcutId?: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xdfd14005
Property
noWebpage
: boolean or undefinedDisable webpage preview
invertMedia
: boolean or undefinedIf set, any eventual webpage preview will be shown on top of the message instead of at the bottom.
peer
: Raw.TypeInputPeerWhere was the message sent
id
: numberId of the message to edit
message
: string or undefinedNew message
media
: Raw.TypeInputMedia or undefinedNew attached media
replyMarkup
: Raw.TypeReplyMarkup or undefinedReply markup for inline keyboards
entities
: Array of Raw.TypeMessageEntity or undefinedMessage entities for styled text
scheduleDate
: number or undefinedScheduled message date for scheduled messages
quickReplyShortcutId
: number or undefinedIf specified, edits a quick reply shortcut message, instead.