You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/webhook
谈笑风生间 5104c887d3
Modify the content format of the Feishu webhook (#25106)
close https://github.com/go-gitea/gitea/issues/24368

## what my pull request does

Since the official documentation states that custom bots do not support
hyperlink functionality, simply adding it without making some formatting
changes would result in an unappealing output. Therefore, I have
modified the formatting of the output. Currently, it is only used for
Feishu.

--- 


[docs](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json#%E8%B6%85%E9%93%BE%E6%8E%A5%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E)

<img width="641" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/360e1c81-ab64-4ef6-851e-aa450d6e85a4">

- Issue

<img width="423" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/519f6fae-81ab-4ec8-89b8-f6a73ff93783">


- Issue Comment


<img width="548" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/749c0d1c-3657-431e-b787-8bf4c23cce83">


- Assign

<img width="431" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/066f99e5-eabb-455d-91fb-a8359cc26dc7">

<img width="457" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/c6c10f99-db83-46ef-a775-4c91979fa68f">

- Merge

<img width="408" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/e627bf43-5954-45aa-acf6-261ee046802f">

- PullRequest

<img width="425" alt="image"
src="https://github.com/go-gitea/gitea/assets/75628309/72cfa714-d3fa-4fb9-abdd-e8508d756056">
11 months ago
..
deliver.go Improve queue and logger context (#24924) 1 year ago
deliver_test.go Restructure `webhook` module (#22256) 2 years ago
dingtalk.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
dingtalk_test.go Restructure `webhook` module (#22256) 2 years ago
discord.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
discord_test.go Restructure `webhook` module (#22256) 2 years ago
feishu.go Modify the content format of the Feishu webhook (#25106) 11 months ago
feishu_test.go Modify the content format of the Feishu webhook (#25106) 11 months ago
general.go Modify the content format of the Feishu webhook (#25106) 11 months ago
general_test.go Modify the content format of the Feishu webhook (#25106) 11 months ago
main_test.go Merge setting.InitXXX into one function with options (#24389) 1 year ago
matrix.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
matrix_test.go Restructure `webhook` module (#22256) 2 years ago
msteams.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
msteams_test.go Restructure `webhook` module (#22256) 2 years ago
notifier.go For API attachments, use API URL (#25639) 1 year ago
packagist.go Restructure `webhook` module (#22256) 2 years ago
packagist_test.go Restructure `webhook` module (#22256) 2 years ago
payloader.go New webhook trigger for receiving Pull Request review requests (#24481) 1 year ago
slack.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago
slack_test.go Restructure `webhook` module (#22256) 2 years ago
telegram.go Add ThreadID parameter for Telegram webhooks (#25996) 11 months ago
telegram_test.go Restructure `webhook` module (#22256) 2 years ago
webhook.go Warn instead of reporting an error when a webhook cannot be found (#26039) 11 months ago
webhook_test.go Restructure `webhook` module (#22256) 2 years ago
wechatwork.go Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 1 year ago