> For the complete documentation index, see [llms.txt](https://degreetpro.gitbook.io/nestgram/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://degreetpro.gitbook.io/nestgram/messages/send-contact.md).

# Send contact

## Send contact

To send a contact, use **Contact class**

#### Contact class take arguments:

<table><thead><tr><th width="212.91846921797003" data-type="number">Argument</th><th width="299.4779702952178">Description</th><th>Required</th></tr></thead><tbody><tr><td>1</td><td>Phone number (<em>string</em>)</td><td><strong>Required</strong></td></tr><tr><td>2</td><td>First name</td><td><strong>Required</strong></td></tr><tr><td>3</td><td>Last name (<em>can be null</em>)</td><td>Optional</td></tr><tr><td>4</td><td><a href="https://core.telegram.org/bots/api#sendcontact">Options</a></td><td>Optional</td></tr></tbody></table>

{% code title="app.controller.ts" %}

```typescript
import { Controller, Contact, MessageSend, OnCommand } from 'nestgram';
import { AppService } from './app.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @OnCommand('start')
  helloMessage(): MessageSend {
    return new MessageSend(new Contact('(555) 555-1234', 'Big Smoke'))
  }
}
```

{% endcode %}
