messages.composeMessageWithAI
No description available.
func (c *Client) MessagesComposeMessageWithAI(ctx context.Context, request *MessagesComposeMessageWithAIRequest) (*MessagesComposedMessageWithAI, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesComposeMessageWithAI(ctx, &tg.MessagesComposeMessageWithAIRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // *MessagesComposedMessageWithAI
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Proofread | bool | — | Proofread field of MessagesComposeMessageWithAIRequest. |
Emojify | bool | — | Emojify field of MessagesComposeMessageWithAIRequest. |
Text | TextWithEntities | yes | Text field of MessagesComposeMessageWithAIRequest. |
TranslateToLang | string | — | TranslateToLang field of MessagesComposeMessageWithAIRequest. |
Tone | InputAiComposeToneClass | — | Tone field of MessagesComposeMessageWithAIRequest. |
Returns
*MessagesComposedMessageWithAI
References
- Official documentation
- Generated Go reference
- TL definition:
messages.composeMessageWithAI#daecc589