Example #1
0
 /// <inheritdoc />
 public async Task <bool> SetSettingsAsync(MonthlyLimit monthlyTier)
 {
     return(await TypeHelper.TryInvokeMethodAsync(func : () => _vk.Streaming.SetSettings(monthlyTier: monthlyTier)));
 }
Example #2
0
 /// <inheritdoc />
 public bool SetSettings(MonthlyLimit monthlyTier)
 {
     return(_vk.Call <bool>(methodName: "streaming.setSettings", parameters: new VkParameters {
         { "monthly_tier", monthlyTier }
     }));
 }
Example #3
0
 /// <inheritdoc />
 public Task <bool> SetSettingsAsync(MonthlyLimit monthlyTier)
 {
     return(TypeHelper.TryInvokeMethodAsync(func: () => SetSettings(monthlyTier: monthlyTier)));
 }