-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Description
- List the tickers and give some info about each one on request (rank, full name, available on ITT)
- Add follow/unfollow button to start following or filtering out unwanted signals.
Implementation
A menu button will offer a list of all the currencies with a "search" keyword to jump to a non visible but listed coin (it might be in the next page or group of coins to display).
A command will allow users to make it inline setting a comma separated list:
/coins - list of the coins
/coins info ETH will return infos about Ethereum
/coins info ethereum will return infos about Ethereum
/coins on/off ETH,BTC,... will send a POST request to the endpoint asking to follow the comma delimited coins
The backend API is called at each settings button too and therefore will send a single element array to keep the compatibility.
POST api/user
{
chat_id: 1234,
altcoins: [{'ETH':true},{'BTC':true},{'OMG':false}]
}
The expected return JSON on which the keyboard will be updated:
{
"risk":"medium",
"is_ITT_team":true,
"beta_token_valid":true,
"horizon":"medium",
"is_subscribed":true,
"is_muted":false,
"quota_currencies":[
"USD",
"ETH"
],
"altcoins":[
"XRP",
"OMG"
]
}
Reactions are currently unavailable