コード例 #1
0
        protected void SendSystemInfo(string message, InfoType type)
        {
            var context = InfoMessageContext.Create(new InfoMessage
            {
                Text     = message,
                SiteType = SiteType.Periscope,
                Type     = type,
            }, _options);

            MessageReceived?.Invoke(this, context);
        }
コード例 #2
0
        protected void SendSystemInfo(string message, InfoType type)
        {
            var context = InfoMessageContext.Create(new InfoMessage
            {
                CommentItems = new List <IMessagePart> {
                    Common.MessagePartFactory.CreateMessageText(message)
                },
                NameItems = null,
                SiteType  = SiteType.Periscope,
                Type      = type,
            }, _options);

            MessageReceived?.Invoke(this, context);
        }