toggle menu
Telegram Bot
7.4.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal.options
/
ContactOptions
Contact
Options
@
Serializable
data
class
ContactOptions
(
var
lastName
:
String
?
=
null
,
var
vcard
:
String
?
=
null
,
var
allowPaidBroadcast
:
Boolean
?
=
null
,
var
disableNotification
:
Boolean
?
=
null
,
var
replyParameters
:
ReplyParameters
?
=
null
,
var
protectContent
:
Boolean
?
=
null
,
var
messageThreadId
:
Int
?
=
null
,
var
messageEffectId
:
String
?
=
null
)
:
OptionsCommon
,
ForumProps
,
MessageEffectIdProp
Members
Constructors
Contact
Options
Link copied to clipboard
constructor
(
lastName
:
String
?
=
null
,
vcard
:
String
?
=
null
,
allowPaidBroadcast
:
Boolean
?
=
null
,
disableNotification
:
Boolean
?
=
null
,
replyParameters
:
ReplyParameters
?
=
null
,
protectContent
:
Boolean
?
=
null
,
messageThreadId
:
Int
?
=
null
,
messageEffectId
:
String
?
=
null
)
Properties
allow
Paid
Broadcast
Link copied to clipboard
open
override
var
allowPaidBroadcast
:
Boolean
?
disable
Notification
Link copied to clipboard
open
override
var
disableNotification
:
Boolean
?
last
Name
Link copied to clipboard
var
lastName
:
String
?
message
Effect
Id
Link copied to clipboard
open
override
var
messageEffectId
:
String
?
message
Thread
Id
Link copied to clipboard
open
override
var
messageThreadId
:
Int
?
protect
Content
Link copied to clipboard
open
override
var
protectContent
:
Boolean
?
reply
Parameters
Link copied to clipboard
open
override
var
replyParameters
:
ReplyParameters
?
reply
To
Message
Id
Link copied to clipboard
open
var
replyToMessageId
:
Long
?
vcard
Link copied to clipboard
var
vcard
:
String
?
Functions
reply
Parameters
Link copied to clipboard
open
fun
replyParameters
(
messageId
:
Long
,
block
:
ReplyParameters
.
(
)
->
Unit
=
{}
)