mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-29 06:26:07 +02:00
![twitter-team](/assets/img/avatar_default.png)
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.
23 lines
612 B
Thrift
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
|
|
}
|