public Task<(ForumResponse , ValidationResult )> SendMessageAsync(
Guid topicID,
MessageModel message,
bool isSuperModeratorModeEnabled,
CancellationToken cancellationToken = default
)
Public Function SendMessageAsync (
topicID As Guid,
message As MessageModel,
isSuperModeratorModeEnabled As Boolean,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ( As ForumResponse, As ValidationResult))
public:
virtual Task<ValueTuple<ForumResponse^, ValidationResult^>>^ SendMessageAsync(
Guid topicID,
MessageModel^ message,
bool isSuperModeratorModeEnabled,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract SendMessageAsync :
topicID : Guid *
message : MessageModel *
isSuperModeratorModeEnabled : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ForumResponse, ValidationResult>>
override SendMessageAsync :
topicID : Guid *
message : MessageModel *
isSuperModeratorModeEnabled : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<ForumResponse, ValidationResult>>
ForumResponse - ответ на запрос.
ValidationResult, содержащий информацию по возникшим ошибкам.