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