add_contact
Add a user to your Telegram contacts using their username, ID, or phone number. Optionally share your phone number with them.
Instructions
把某人加进通讯录。
已经能看到的人:传 user(@username 或 ID)。
只有电话号码:传 phone + first_name,会用号码导入。
Args: user: 目标用户的 @username 或 ID。 first_name: 备注名(必填,会显示在通讯录里)。 last_name: 备注姓。 phone: 只知道号码时用,带国家码。 share_my_phone: 是否把自己的号码也分享给对方。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| phone | No | ||
| last_name | No | ||
| first_name | No | ||
| share_my_phone | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||