<?php

declare(strict_types=1);

/*
 * This file is a part of the DiscordPHP project.
 *
 * Copyright (c) 2015-present David Cole <david.cole1340@gmail.com>
 *
 * This file is subject to the MIT license that is bundled
 * with this source code in the LICENSE.md file.
 */

namespace Discord\Parts\Embed;

use Discord\Parts\Part;

/**
 * The footer section of an embed.
 *
 * @link https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure
 *
 * @since 4.0.3
 *
 * @property      string       $text           Footer text.
 * @property      ?string|null $icon_url       URL of an icon for the footer. Must be https.
 * @property-read ?string|null $proxy_icon_url Proxied version of the icon URL.
 */
class Footer extends Part
{
    /**
     * @inheritDoc
     */
    protected $fillable = [
        'text',
        'icon_url',
        'proxy_icon_url',
    ];
}
