コード例 #1
0
 public OutgoingStatusMessage(Session session, ImState state, string contentType, int refresh)
     : base(Message.IMCOMPOSE_TYPE, string.Format(ISCOMPOSING, state.ToString(), contentType, IncludeRefresh(refresh)).Encode(Encoding.UTF8))
 {
     _state = state;
     _composeContentType = contentType;
     _refresh            = refresh;
 }