exotelpy.exotel.Schedule

class exotelpy.exotel.Schedule(send_at=None, end_at=None)

Utility class for passing schedule of campaigns in a uniform manner

Parameters:
  • send_at (datetime, optional) – Time when the campaign should start. Defaults to None.

  • end_at (datetime, optional) – Time when the campaign should end. Defaults to None.

__init__(send_at=None, end_at=None)

Methods

__init__([send_at, end_at])

to_json([sms])

Utility method for serializing API payload

Attributes

end_at

send_at