v1ConvaiAgentsAgentIdAvatarPost method
Future<Response<PostAgentAvatarResponseModel> >
v1ConvaiAgentsAgentIdAvatarPost({
- required String? agentId,
- String? xiApiKey,
- required BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost body,
Post Agent Avatar @param agent_id The id of an agent. This is returned on agent creation. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Implementation
Future<chopper.Response<PostAgentAvatarResponseModel>>
v1ConvaiAgentsAgentIdAvatarPost({
required String? agentId,
String? xiApiKey,
required BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost body,
}) {
generatedMapping.putIfAbsent(
PostAgentAvatarResponseModel,
() => PostAgentAvatarResponseModel.fromJsonFactory,
);
return _v1ConvaiAgentsAgentIdAvatarPost(
agentId: agentId,
xiApiKey: xiApiKey?.toString(),
body: body,
);
}