WithFirstMessage sets the first message to send.
(msg string)
| 63 | |
| 64 | // WithFirstMessage sets the first message to send. |
| 65 | func WithFirstMessage(msg string) Opt { |
| 66 | return func(a *App) { |
| 67 | a.firstMessage = &msg |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | // WithFirstMessageAttachment sets the attachment path for the first message. |
| 72 | func WithFirstMessageAttachment(path string) Opt { |
no outgoing calls
no test coverage detected