init
- 框架初始化 - 安装插件 - 修复PHP8.4报错
This commit is contained in:
40
vendor/overtrue/wechat/src/Kernel/Messages/TextCard.php
vendored
Normal file
40
vendor/overtrue/wechat/src/Kernel/Messages/TextCard.php
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the overtrue/wechat.
|
||||
*
|
||||
* (c) overtrue <i@overtrue.me>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace EasyWeChat\Kernel\Messages;
|
||||
|
||||
/**
|
||||
* Class Text.
|
||||
*
|
||||
* @property string $title
|
||||
* @property string $description
|
||||
* @property string $url
|
||||
*/
|
||||
class TextCard extends Message
|
||||
{
|
||||
/**
|
||||
* Messages type.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $type = 'textcard';
|
||||
|
||||
/**
|
||||
* Properties.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $properties = [
|
||||
'title',
|
||||
'description',
|
||||
'url',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user