MCPcopy Create free account
hub / github.com/Preloading/TwitterAPIBridge / getActionType

Function getActionType

twitterv1/connect.go:391–408  ·  view source on GitHub ↗
(reason string)

Source from the content-addressed store, hash-verified

389}
390
391func getActionType(reason string) string {
392 switch reason {
393 case "follow":
394 return "follow"
395 case "like":
396 return "favorite"
397 case "repost":
398 return "retweet"
399 case "mention":
400 return "mention"
401 case "quote":
402 return "mention"
403 case "reply":
404 return "reply"
405 default:
406 return reason
407 }
408}

Callers 1

processNotificationGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected