the-algorithm/src/thrift/com/twitter/recos/recos_injector.thrift
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

23 lines
612 B
Thrift

namespace java com.twitter.recos.recos_injector.thriftjava
namespace py gen.twitter.recos.recos_injector
#@namespace scala com.twitter.recos.recos_injector.thriftscala
namespace rb RecosInjector
####### FOR RECOS INTERNAL USE ONLY -- please do NOT use this in client code ########
struct UserTweetAuthorGraphMessage {
1: required i64 leftId
2: required i64 rightId
3: required i8 action
4: optional i8 card
5: optional i64 authorId
6: optional Features features
}
struct Features {
1: optional bool hasPhoto
2: optional bool hasVideo
3: optional bool hasUrl
4: optional bool hasHashtag
}