{"id":21912416,"url":"https://github.com/eldersjavas/esdingtalkbot_go","last_synced_at":"2025-03-22T08:30:09.590Z","repository":{"id":57630378,"uuid":"408275066","full_name":"EldersJavas/EsDingTalkBot_Go","owner":"EldersJavas","description":"Using DingTalk GroupBot with one line","archived":false,"fork":false,"pushed_at":"2022-07-11T12:48:26.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T08:43:11.659Z","etag":null,"topics":["bot","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EldersJavas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-20T01:10:35.000Z","updated_at":"2023-03-01T09:44:33.000Z","dependencies_parsed_at":"2022-09-26T20:11:28.238Z","dependency_job_id":null,"html_url":"https://github.com/EldersJavas/EsDingTalkBot_Go","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EldersJavas%2FEsDingTalkBot_Go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EldersJavas%2FEsDingTalkBot_Go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EldersJavas%2FEsDingTalkBot_Go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EldersJavas%2FEsDingTalkBot_Go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EldersJavas","download_url":"https://codeload.github.com/EldersJavas/EsDingTalkBot_Go/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244931156,"owners_count":20534002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","go","golang"],"created_at":"2024-11-28T18:09:51.663Z","updated_at":"2025-03-22T08:30:09.571Z","avatar_url":"https://github.com/EldersJavas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EsDingTalkBot_Go\n\n![goreportcard](https://goreportcard.com/badge/github.com/EldersJavas/EsDingTalkBot_Go)\n[![Go Reference](https://pkg.go.dev/badge/github.com/EldersJavas/EsDingTalkBot_Go.svg)](https://pkg.go.dev/github.com/EldersJavas/EsDingTalkBot_Go)\n[![GitHub license](https://img.shields.io/github/license/EldersJavas/EsDingTalkBot_Go?color=red\u0026logo=apache\u0026logoColor=red\u0026style=flat-square)](https://github.com/EldersJavas/EsDingTalkBot_Go/blob/main/LICENSE)\n[![GitHub stars](https://img.shields.io/github/stars/EldersJavas/EsDingTalkBot_Go?color=green\u0026style=flat-square)](https://github.com/EldersJavas/EsDingTalkBot_Go/stargazers)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/EldersJavas/EsDingTalkBot_Go?logo=go\u0026style=flat-square)\n\n\nUsing DingTalk GroupBot with one line\n\nSo easy!\n\nDingTalk Doc:https://developers.dingtalk.com/document/robots/custom-robot-access\n\n# Use\n\n## Text\n![image](https://user-images.githubusercontent.com/55266266/133955143-1bf09b70-57d4-488f-bd04-bc16ab76180a.png)\n\n```go\n//func Text(token string, content string, AtMobiles []string, AtUserIds []string, IsAtAll bool) error\ndingbot.Text(\"123\",\"hello\",[]string{},[]string{},false)\n```\n## Link\n![image](https://user-images.githubusercontent.com/55266266/133955155-20e9ecf4-a950-43ad-96ef-02968c562aa7.png)\n\n```go\n//func Link(token string, content string, Title string, PicUrl string, MessageUrl string) error\ndingbot.Link(\"123\",\"Hello World!\",\"Hello\",\"https://github.com/fluidicon.png\",\"https://github.com/EldersJavas/EsDingTalkBot_Go\")\n```\n## MarkDown\n![image](https://user-images.githubusercontent.com/55266266/133955161-11a264e0-2a1f-46e3-bcd6-3fefd98245ae.png)\n\n```go\n//func MD(token string, title string, content string, AtMobiles []string, AtUserIds []string, IsAtAll bool) error\ndingbot.MD(\"123\",\"# Hello\",[]string{},[]string{},false)\n```\n## AActionCard\n![image](https://user-images.githubusercontent.com/55266266/133955175-40d80988-3ecc-4281-8e84-d4ff37b232c4.png)\n\n```go\n//func AActionCard(token string, Title string, content string, BtnOrientation string, SingleTitle string, SingleURL string) error\ndingbot.AActionCard(\"123\",\"hello\",\"Hello World!\",\"1\",\"EsDingTalkBot_Go\",\"https://github.com/EldersJavas/EsDingTalkBot_Go\")\n```\n## DActionCard\n![image](https://user-images.githubusercontent.com/55266266/133955181-13e3166c-577e-45b3-9fff-0e97b971478f.png)\n\n```go\n/*\nfunc DActionCard(token, Title, content, BtnOrientation string, Btns []struct {\nTitle     string `json:\"title\"`\nActionURL string `json:\"actionURL\"`\n}) error\n*/\nvar Btn []struct {\n  Title     string `json:\"title\"`\n  ActionURL string `json:\"actionURL\"`}\nvar Add struct{\n  Title     string `json:\"title\"`\n  ActionURL string `json:\"actionURL\"`}\nAdd.Title=\"EsDingTalkBot_Go\"\nAdd.ActionURL=\"https://github.com/EldersJavas/EsDingTalkBot_Go\"\nBtn = append(Btn, Add)\nerr := dingbot.DActionCard(\"123\", \"hello\", \"\", \"1\", Btn)\n```\n## FeedCard\n![image](https://user-images.githubusercontent.com/55266266/133955184-d43e7aa0-cdc1-4ab6-9062-8f5c2dc69454.png)\n\n```go\n/*\nfunc func FeedCard(token string, Links []struct {\n\tTitle      string `json:\"title\"`\n\tMessageURL string `json:\"messageURL\"`\n\tPicURL     string `json:\"picURL\"`\n}) error\n*/\nvar Links []struct{\n  Title      string `json:\"title\"`\n  MessageURL string `json:\"messageURL\"`\n  PicURL     string `json:\"picURL\"`}\nvar Add struct{\n  Title      string `json:\"title\"`\n  MessageURL string `json:\"messageURL\"`\n  PicURL     string `json:\"picURL\"`}\nAdd.Title=\"EsDingTalkBot_Go\"\nAdd.PicURL=\"https://github.com/fluidicon.png\"\nAdd.MessageURL=\"https://github.com/EldersJavas/EsDingTalkBot_Go\"\nLinks = append(Links, Add)\nerr := dingbot.FeedCard(\"123\", Links)\n```\n\n# Error Back\n```go\t\nerr := FeedCard(\"123\", Links)\nif err != nil {\n  return\n}\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldersjavas%2Fesdingtalkbot_go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldersjavas%2Fesdingtalkbot_go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldersjavas%2Fesdingtalkbot_go/lists"}