示例#1
0
        public SetActionResult setChatDescription(long ChatID, string Description)
        {
            ApiResult recData = postWeb(apiUrl + "setChatDescription", "chat_id=" + ChatID + "&title=" + Description);

            return(getSetActionResult(recData));
        }
示例#2
0
        public SetActionResult unpinChatMessage(long ChatID)
        {
            ApiResult recData = postWeb(apiUrl + "unpinChatMessage", "chat_id=" + ChatID);

            return(getSetActionResult(recData));
        }
示例#3
0
        public SendMessageResult setChatTitle(long ChatID, string Title)
        {
            ApiResult recData = postWeb(apiUrl + "setChatTitle", "chat_id=" + ChatID + "&title=" + Title);

            return(getSendMessageResult(recData));
        }
示例#4
0
        public SendMessageResult deleteChatPhoto(long ChatID)
        {
            ApiResult recData = postWeb(apiUrl + "deleteChatPhoto", "chat_id=" + ChatID);

            return(getSendMessageResult(recData));
        }
示例#5
0
        public SendMessageResult setChatPhoto(long ChatID, byte[] photo)
        {
            ApiResult recData = postWeb(apiUrl + "setChatPhoto", "chat_id=" + ChatID);

            return(getSendMessageResult(recData));
        }
示例#6
0
        public SetActionResult exportChatInviteLink(long ChatID)
        {
            ApiResult recData = postWeb(apiUrl + "exportChatInviteLink", "chat_id=" + ChatID);

            return(getSetActionResult(recData));
        }
示例#7
0
        public SetActionResult unbanChatMember(long ChatID, long UserID)
        {
            ApiResult recData = postWeb(apiUrl + "unbanChatMember", "chat_id=" + ChatID + "&user_id=" + UserID);

            return(getSetActionResult(recData));
        }