Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.76 KB

File metadata and controls

134 lines (73 loc) · 3.76 KB

TelegramSettingsOptions

Properties

Name Type Description Notes
BotUsername Pointer to string [optional]
BotAPI Pointer to string [optional]
ChatId Pointer to string [optional]
SendSilently Pointer to bool [optional]

Methods

NewTelegramSettingsOptions

func NewTelegramSettingsOptions() *TelegramSettingsOptions

NewTelegramSettingsOptions instantiates a new TelegramSettingsOptions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTelegramSettingsOptionsWithDefaults

func NewTelegramSettingsOptionsWithDefaults() *TelegramSettingsOptions

NewTelegramSettingsOptionsWithDefaults instantiates a new TelegramSettingsOptions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetBotUsername

func (o *TelegramSettingsOptions) GetBotUsername() string

GetBotUsername returns the BotUsername field if non-nil, zero value otherwise.

GetBotUsernameOk

func (o *TelegramSettingsOptions) GetBotUsernameOk() (*string, bool)

GetBotUsernameOk returns a tuple with the BotUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBotUsername

func (o *TelegramSettingsOptions) SetBotUsername(v string)

SetBotUsername sets BotUsername field to given value.

HasBotUsername

func (o *TelegramSettingsOptions) HasBotUsername() bool

HasBotUsername returns a boolean if a field has been set.

GetBotAPI

func (o *TelegramSettingsOptions) GetBotAPI() string

GetBotAPI returns the BotAPI field if non-nil, zero value otherwise.

GetBotAPIOk

func (o *TelegramSettingsOptions) GetBotAPIOk() (*string, bool)

GetBotAPIOk returns a tuple with the BotAPI field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBotAPI

func (o *TelegramSettingsOptions) SetBotAPI(v string)

SetBotAPI sets BotAPI field to given value.

HasBotAPI

func (o *TelegramSettingsOptions) HasBotAPI() bool

HasBotAPI returns a boolean if a field has been set.

GetChatId

func (o *TelegramSettingsOptions) GetChatId() string

GetChatId returns the ChatId field if non-nil, zero value otherwise.

GetChatIdOk

func (o *TelegramSettingsOptions) GetChatIdOk() (*string, bool)

GetChatIdOk returns a tuple with the ChatId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetChatId

func (o *TelegramSettingsOptions) SetChatId(v string)

SetChatId sets ChatId field to given value.

HasChatId

func (o *TelegramSettingsOptions) HasChatId() bool

HasChatId returns a boolean if a field has been set.

GetSendSilently

func (o *TelegramSettingsOptions) GetSendSilently() bool

GetSendSilently returns the SendSilently field if non-nil, zero value otherwise.

GetSendSilentlyOk

func (o *TelegramSettingsOptions) GetSendSilentlyOk() (*bool, bool)

GetSendSilentlyOk returns a tuple with the SendSilently field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSendSilently

func (o *TelegramSettingsOptions) SetSendSilently(v bool)

SetSendSilently sets SendSilently field to given value.

HasSendSilently

func (o *TelegramSettingsOptions) HasSendSilently() bool

HasSendSilently returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]