public SetActionResult setChatDescription(long ChatID, string Description) { ApiResult recData = postWeb(apiUrl + "setChatDescription", "chat_id=" + ChatID + "&title=" + Description); return(getSetActionResult(recData)); }
public SetActionResult unpinChatMessage(long ChatID) { ApiResult recData = postWeb(apiUrl + "unpinChatMessage", "chat_id=" + ChatID); return(getSetActionResult(recData)); }
public SendMessageResult setChatTitle(long ChatID, string Title) { ApiResult recData = postWeb(apiUrl + "setChatTitle", "chat_id=" + ChatID + "&title=" + Title); return(getSendMessageResult(recData)); }
public SendMessageResult deleteChatPhoto(long ChatID) { ApiResult recData = postWeb(apiUrl + "deleteChatPhoto", "chat_id=" + ChatID); return(getSendMessageResult(recData)); }
public SendMessageResult setChatPhoto(long ChatID, byte[] photo) { ApiResult recData = postWeb(apiUrl + "setChatPhoto", "chat_id=" + ChatID); return(getSendMessageResult(recData)); }
public SetActionResult exportChatInviteLink(long ChatID) { ApiResult recData = postWeb(apiUrl + "exportChatInviteLink", "chat_id=" + ChatID); return(getSetActionResult(recData)); }
public SetActionResult unbanChatMember(long ChatID, long UserID) { ApiResult recData = postWeb(apiUrl + "unbanChatMember", "chat_id=" + ChatID + "&user_id=" + UserID); return(getSetActionResult(recData)); }