Class ElementFlashImage
闪照
Inherited Members
Namespace: cqhttp.Cyan.Messages.CQElements
Assembly: cqhttp.Cyan.dll
Syntax
public class ElementFlashImage : ElementImage
Constructors
| Improve this Doc View SourceElementFlashImage(Dictionary<String, String>)
通过属性字典构造图片Element
Declaration
public ElementFlashImage(Dictionary<string, string> data)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System.String, System.String> | data | Element属性 |
ElementFlashImage(Byte[], Boolean)
通过含图片的byte array构造图片Element
Declaration
public ElementFlashImage(byte[] imageBytes, bool useCache = true)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | imageBytes | |
System.Boolean | useCache |
ElementFlashImage(String, Boolean)
通过网络资源构造图片Element
Declaration
public ElementFlashImage(string url, bool useCache = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | 资源位置 |
System.Boolean | useCache | 是否缓存于酷Q客户端 |