mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 21:17:46 +01:00
908 B
908 B
title | description |
---|---|
inputUserContact | inputUserContact attributes, type and example |
Constructor: inputUserContact
Attributes:
Name | Type | Required |
---|---|---|
user_id | int | Required |
Type: InputUser
Example:
$inputUserContact = ['_' => 'inputUserContact', 'user_id' => int, ];
The following syntaxes can also be used:
$inputUserContact = '@username'; // Username
$inputUserContact = 44700; // bot API id (users)
$inputUserContact = -492772765; // bot API id (chats)
$inputUserContact = -10038575794; // bot API id (channels)
$inputUserContact = 'user#44700'; // tg-cli style id (users)
$inputUserContact = 'chat#492772765'; // tg-cli style id (chats)
$inputUserContact = 'channel#38575794'; // tg-cli style id (channels)