Search Results for

    Show / Hide Table of Contents

    Class BaseElementShare

    分享链接

    Inheritance
    System.Object
    Element
    BaseElementShare
    ElementMusicCustom
    ElementShare
    Inherited Members
    Element.type
    Element.data
    Element.isSingle
    Element.Equals(Object)
    Element.GetHashCode()
    Element.ToString()
    Element.GetElement(String, Dictionary<String, String>)
    Namespace: cqhttp.Cyan.Messages.CQElements.Base
    Assembly: cqhttp.Cyan.dll
    Syntax
    public class BaseElementShare : Element

    Constructors

    | Improve this Doc View Source

    BaseElementShare(String, String, String, String, (String k, String v)[])

    Declaration
    public BaseElementShare(string url, string title, string content = "", string image = "", params (string k, string v)[] p)
    Parameters
    Type Name Description
    System.String url
    System.String title
    System.String content
    System.String image
    System.ValueTuple<System.String, System.String>[] p

    Properties

    | Improve this Doc View Source

    content

    Declaration
    public string content { get; protected set; }
    Property Value
    Type Description
    System.String

    分享的简介,建议30字以内。可为空。

    | Improve this Doc View Source

    image

    Declaration
    public string image { get; protected set; }
    Property Value
    Type Description
    System.String

    分享的图片链接

    | Improve this Doc View Source

    title

    Declaration
    public string title { get; protected set; }
    Property Value
    Type Description
    System.String

    分享的标题,建议12字以内。

    | Improve this Doc View Source

    url

    Declaration
    public string url { get; protected set; }
    Property Value
    Type Description
    System.String

    分享链接

    • Improve this Doc
    • View Source
    ☀
    ☾