Search Results for

    Show / Hide Table of Contents

    Class ElementFlashImage

    闪照

    Inheritance
    System.Object
    Element
    ElementFile
    ElementImage
    ElementFlashImage
    Inherited Members
    ElementImage.Equals(Object)
    ElementImage.GetHashCode()
    ElementFile.file_url
    ElementFile.is_fixed
    ElementFile.Save(String)
    ElementFile.Fix()
    Element.type
    Element.data
    Element.isSingle
    Element.ToString()
    Element.GetElement(String, Dictionary<String, String>)
    Namespace: cqhttp.Cyan.Messages.CQElements
    Assembly: cqhttp.Cyan.dll
    Syntax
    public class ElementFlashImage : ElementImage

    Constructors

    | Improve this Doc View Source

    ElementFlashImage(Dictionary<String, String>)

    通过属性字典构造图片Element

    Declaration
    public ElementFlashImage(Dictionary<string, string> data)
    Parameters
    Type Name Description
    Dictionary<System.String, System.String> data

    Element属性

    | Improve this Doc View Source

    ElementFlashImage(Byte[], Boolean)

    通过含图片的byte array构造图片Element

    Declaration
    public ElementFlashImage(byte[] imageBytes, bool useCache = true)
    Parameters
    Type Name Description
    System.Byte[] imageBytes
    System.Boolean useCache
    | Improve this Doc View Source

    ElementFlashImage(String, Boolean)

    通过网络资源构造图片Element

    Declaration
    public ElementFlashImage(string url, bool useCache = true)
    Parameters
    Type Name Description
    System.String url

    资源位置

    System.Boolean useCache

    是否缓存于酷Q客户端

    • Improve this Doc
    • View Source
    ☀
    ☾