Builder for contact payloads.
Builds sendContact payloads. See
Messages and Media.
Summary
Functions
Sets contact information with first name and phone number.
Sets contact information with first name, last name, and phone number.
Sends the contact to the specified chat.
Sends the contact without notification sound.
Types
@type input() :: map() | TelegramEx.Effect.t()
Functions
@spec contact(input(), String.t(), String.t()) :: TelegramEx.Effect.t()
Sets contact information with first name and phone number.
@spec contact(input(), String.t(), String.t(), String.t()) :: TelegramEx.Effect.t()
Sets contact information with first name, last name, and phone number.
@spec send(input(), integer()) :: TelegramEx.Effect.t()
Sends the contact to the specified chat.
@spec silent(input()) :: TelegramEx.Effect.t()
Sends the contact without notification sound.