slack-web-2.1.0.0: tests/golden/SlackWebhookEvent/github_with_link.golden
EventEventCallback
( EventCallback
{ eventId = EventId
{ unEventId = "Ev07U5U3EQCV" }
, teamId = TeamId
{ unTeamId = "T043DB835ML" }
, eventTime = MkSystemTime
{ systemSeconds = 1730339959
, systemNanoseconds = 0
}
, event = EventMessage
( MessageEvent
{ blocks = Nothing
, channel = ConversationId
{ unConversationId = "C07LRFB3C8M" }
, text = ""
, channelType = Channel
, files = Nothing
, user = UserId
{ unUserId = "U07M725KAD7" }
, ts = "1730339959.644979"
, threadTs = Nothing
, appId = Just "A01BP7R4KNY"
, botId = Just "B07LDR01Z63"
, botProfile = Just
( BotProfile
{ id = "B07LDR01Z63"
, name = "GitHub"
, appId = "A01BP7R4KNY"
, teamId = TeamId
{ unTeamId = "T043DB835ML" }
}
)
, attachments = Just
[ MessageAttachment
{ decoded = Just
( DecodedMessageAttachment
{ fallback = Just "[myorg/myrepo] Pull request opened by ldub"
, color = Just "36a64f"
, pretext = Just "Pull request opened by <https://github.com/ldub|ldub>"
, authorName = Nothing
, authorLink = Nothing
, authorIcon = Nothing
, title = Just "<https://github.com/myorg/myrepo/pull/8|#8 https://myteam.slack.com/archives/C07KTH1T4CQ/p1730339894629249>"
, titleLink = Nothing
, text = Just "this is a fake pr with a link
<https://myteam.slack.com/archives/C07KTH1T4CQ/p1730339894629249|https://myteam.slack.com/archives/C07KTH1T4CQ/p1730339894629249>"
, fields = Nothing
, imageUrl = Nothing
, thumbUrl = Nothing
, footer = Just "<https://github.com/myorg/myrepo|myorg/myrepo>"
, footerIcon = Just "https://slack.github.com/static/img/favicon-neutral.png"
, ts = Just "1730339957.0"
, isMsgUnfurl = Nothing
, messageBlocks = Nothing
, authorId = Nothing
, channelId = Nothing
, channelTeam = Nothing
, isAppUnfurl = Nothing
, appUnfurlUrl = Nothing
, fromUrl = Nothing
}
)
, raw = Object
( fromList
[
( "actions"
, Array
[ Object
( fromList
[
( "id"
, String "1"
)
,
( "name"
, String "comment"
)
,
( "style"
, String ""
)
,
( "text"
, String "Comment"
)
,
( "type"
, String "button"
)
,
( "value"
, String "{&amp;quot;selectedOrg&amp;quot;:&amp;quot;myorg&amp;quot;,&amp;quot;selectedOrgId&amp;quot;:140364112,&amp;quot;selectedRepo&amp;quot;:&amp;quot;myrepo&amp;quot;,&amp;quot;selectedRepoId&amp;quot;:669978765,&amp;quot;number&amp;quot;:8,&amp;quot;htmlUrl&amp;quot;:&amp;quot;https://github.com/myorg/myrepo/pull/8&amp;quot;,&amp;quot;title&amp;quot;:&amp;quot;https://myteam.slack.com/archives/C07KTH1T4CQ/p1730339894629249&amp;quot;}"
)
]
)
]
)
,
( "callback_id"
, String "pr-opened-interaction"
)
,
( "color"
, String "36a64f"
)
,
( "fallback"
, String "[myorg/myrepo] Pull request opened by ldub"
)
,
( "footer"
, String "<https://github.com/myorg/myrepo|myorg/myrepo>"
)
,
( "footer_icon"
, String "https://slack.github.com/static/img/favicon-neutral.png"
)
,
( "id"
, Number 1.0
)
,
( "mrkdwn_in"
, Array
[ String "text" ]
)
,
( "pretext"
, String "Pull request opened by <https://github.com/ldub|ldub>"
)
,
( "text"
, String "this is a fake pr with a link
<https://myteam.slack.com/archives/C07KTH1T4CQ/p1730339894629249|https://myteam.slack.com/archives/C07KTH1T4CQ/p1730339894629249>"
)
,
( "title"
, String "<https://github.com/myorg/myrepo/pull/8|#8 https://myteam.slack.com/archives/C07KTH1T4CQ/p1730339894629249>"
)
,
( "ts"
, Number 1.730339957e9
)
]
)
}
]
}
)
}
)