Skip to content

messages.editMessage

Layer 225

Constructor ID: 0x51e842e1
Returns: Updates

Parameters

NameTypeDescription
no_webpagebool (flags.1, optional)
invert_mediabool (flags.16, optional)
peerInputPeer
idint32
messagestring (flags.11, optional)
mediaInputMedia (flags.14, optional)
reply_markupReplyMarkup (flags.2, optional)
entities[]MessageEntity (flags.3, optional)
schedule_dateint32 (flags.15, optional)
schedule_repeat_periodint32 (flags.18, optional)
quick_reply_shortcut_idint32 (flags.17, optional)

Example

go
result, err := client.Raw(&tg.EditMessageRequest{
    no_webpage: false,
    invert_media: false,
    peer: nil, // InputPeer
    id: 0,
    message: "",
    media: nil, // InputMedia
    reply_markup: nil, // ReplyMarkup
    entities: nil,
    schedule_date: 0,
    schedule_repeat_period: 0,
    quick_reply_shortcut_id: 0,
})
if err != nil {
    panic(err)
}
print(result)

Released under the Apache-2.0 License.