Search Results for

    Show / Hide Table of Contents

    Class GroupMessageEvent

    群消息

    Inheritance
    System.Object
    CQEvent
    MessageEvent
    GroupMessageEvent
    Inherited Members
    MessageEvent.messageType
    MessageEvent.message
    MessageEvent.message_id
    MessageEvent.font
    MessageEvent.GetEndpoint()
    CQEvent.time
    CQEvent.post_type
    CQEvent.postType
    Namespace: cqhttp.Cyan.Events.CQEvents
    Assembly: cqhttp.Cyan.dll
    Syntax
    public class GroupMessageEvent : MessageEvent

    Fields

    | Improve this Doc View Source

    self_info

    表示机器人在消息所在群中的身份信息 来自于groupTable缓存或GetGroupMemberList结果

    Declaration
    public GroupMemberInfo self_info
    Field Value
    Type Description
    GroupMemberInfo

    Properties

    | Improve this Doc View Source

    anonymous

    匿名信息,如果不是匿名消息则为 null

    Declaration
    public GroupMessageEvent.AnonymousInfo anonymous { get; set; }
    Property Value
    Type Description
    GroupMessageEvent.AnonymousInfo
    | Improve this Doc View Source

    group_id

    Declaration
    public long group_id { get; set; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    isAnonymous

    群消息是否匿名

    Declaration
    public bool isAnonymous { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    sender

    Declaration
    public GroupMessageEvent.GroupSender sender { get; set; }
    Property Value
    Type Description
    GroupMessageEvent.GroupSender
    | Improve this Doc View Source

    sub_type

    Declaration
    public string sub_type { get; set; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    ☀
    ☾