Вход Регистрация
Файл: upload/core/vendor/longman/telegram-bot/src/Entities/MessageOrigin/MessageOriginChat.php
Строк: 48
<?php

namespace LongmanTelegramBotEntitiesMessageOrigin;

use 
LongmanTelegramBotEntitiesChat;
use 
LongmanTelegramBotEntitiesEntity;

/**
 * The message was originally sent on behalf of a chat to a group chat.
 *
 * @link https://core.telegram.org/bots/api#messageoriginchat
 *
 * @method string getType()            Type of the message origin, always “chat”
 * @method int    getDate()            Date the message was sent originally in Unix time
 * @method Chat   getChat()            Chat that sent the message originally
 * @method string getAuthorSignature() Optional. For messages originally sent by an anonymous chat administrator, original message author signature
 */
class MessageOriginChat extends Entity implements MessageOrigin
{
    protected function 
subEntities(): array
    {
        return [
            
'sender_chat' => Chat::class,
        ];
    }
}
Онлайн: 0
Реклама