Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>help_CountryCode_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class help_CountryCode_
import { help_CountryCode_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Country code and phone number pattern of a specific country

Constructors

new
help_CountryCode_(params: { country_code: string; prefixes?: Array<string>; patterns?: Array<string>; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
country_code: string

ISO country code

optional
patterns: Array<string>

Phone patterns: for example, XXX XXX XXX

optional
prefixes: Array<string>

Possible phone prefixes

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc