NewsService

Protocols

Protocol IDName
?NewsProtocol

NewsProtocol

Method IDSignature
1
func GetChannels(resultRange: [[ResultRange]]((resultrange))) -> (channels: qlist<[[NewsChannel]]((newschannel))>)
2
func GetChannelsByTypes(newsChannelTypes: qlist<string>, resultRange: [[ResultRange]]((resultrange))) -> (channels: qlist<[[NewsChannel]]((newschannel))>)
3
func GetSubscribableChannels(resultRange: [[ResultRange]]((resultrange))) -> (channels: qlist<[[NewsChannel]]((newschannel))>)
4
func GetChannelsByIDs(newsChannelIDs: qlist<uint32>) -> (channels: qlist<[[NewsChannel]]((newschannel))>)
5
func GetSubscribedChannels(resultRange: [[ResultRange]]((resultrange))) -> (channels: qlist<[[NewsChannel]]((newschannel))>)
6
func SubscribeChannel(newsChannelID: uint32) -> ()
7
func UnsubscribeChannel(newsChannelID: uint32) -> ()
8
func GetNewsHeaders(recipient: [[NewsRecipient]]((newsrecipient)), range: [[ResultRange]]((resultrange))) -> (newsHeaders: qlist<[[NewsHeader]]((newsheader))>)
9
func GetNewsMessages(newsMessageIDs: qlist<uint32>) -> (newsMessages: qlist<[[NewsMessage]]((newsmessage))>)
10
func GetNumberOfNews(recipient: [[NewsRecipient]]((newsrecipient))) -> (numberOfNews: uint32)
11
func GetChannelByType(newsChannelType: string) -> (channel: [[NewsChannel]]((newschannel)))
12
func GetNewsHeadersByType(newsChannelType: string, range: [[ResultRange]]((resultrange))) -> (newsHeaders: qlist<[[NewsHeader]]((newsheader))>)
13
func GetNewsMessagesByType(newsChannelType: string, range: [[ResultRange]]((resultrange))) -> (newsMessages: qlist<[[NewsMessage]]((newsmessage))>)