diff --git a/schemas/botapi.json b/schemas/botapi.json index 0653ed4..b06abcd 100644 --- a/schemas/botapi.json +++ b/schemas/botapi.json @@ -463,7 +463,7 @@ "User" ], "optional": true, - "description": "Optional. Sender, empty for messages sent to channels" + "description": "Optional. Sender of the message; empty for messages sent to channels. For backward compatibility, the field contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat." }, { "name": "sender_chat", @@ -471,7 +471,7 @@ "Chat" ], "optional": true, - "description": "Optional. Sender of the message, sent on behalf of a chat. The channel itself for channel messages. The supergroup itself for messages from anonymous group administrators. The linked channel for messages automatically forwarded to the discussion group" + "description": "Optional. Sender of the message, sent on behalf of a chat. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat." }, { "name": "date", diff --git a/schemas/botapi.yaml b/schemas/botapi.yaml index 78f452d..822810a 100644 --- a/schemas/botapi.yaml +++ b/schemas/botapi.yaml @@ -347,13 +347,13 @@ types: types: - User optional: true - description: 'Optional. Sender, empty for messages sent to channels' + description: 'Optional. Sender of the message; empty for messages sent to channels. For backward compatibility, the field contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat.' - name: sender_chat types: - Chat optional: true - description: 'Optional. Sender of the message, sent on behalf of a chat. The channel itself for channel messages. The supergroup itself for messages from anonymous group administrators. The linked channel for messages automatically forwarded to the discussion group' + description: 'Optional. Sender of the message, sent on behalf of a chat. For backward compatibility, the field from contains a fake sender user in non-channel chats, if the message was sent on behalf of a chat.' - name: date types: