/// <summary> /// <para>获取群消息历史记录</para> /// <para>能获取起始消息的前19条消息</para> /// </summary> /// <param name="messageSequence">起始消息序号,为<see langword="null"/>时默认从最新消息拉取</param> /// <returns> /// <para><see cref="ApiStatusType"/> API执行状态</para> /// <para><see cref="List{T}"/> 消息记录</para> /// </returns> public async ValueTask <(ApiStatus apiStatus, List <GroupMessageEventArgs> messages)> GetGroupMessageHistory( int?messageSequence = null) { return(await SoraApi.GetGroupMessageHistory(Id, messageSequence)); }