Interface EditChatWelcomeMessage

Edits a welcome message of a chat; requires can_send_welcome_messages administrator right in the chat. Request type for Tdjson#editChatWelcomeMessage.

interface EditChatWelcomeMessage {
    @type: "editChatWelcomeMessage";
    chat_id: number;
    input_message_content: InputMessageContent;
    welcome_message_id: number;
}

Properties

@type: "editChatWelcomeMessage"
chat_id: number

The identifier of the chat.

input_message_content: InputMessageContent

New content of the message. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto, inputMessageRichMessage, inputMessageSticker, inputMessageVideo, inputMessageVideoNote, inputMessageVoiceNote.

welcome_message_id: number

The identifier of the welcome message.